[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1629080129-46507-1-git-send-email-huangguangbin2@huawei.com>
Date: Mon, 16 Aug 2021 10:15:25 +0800
From: Guangbin Huang <huangguangbin2@...wei.com>
To: <davem@...emloft.net>, <kuba@...nel.org>, <amitc@...lanox.com>,
<idosch@...sch.org>, <andrew@...n.ch>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lipeng321@...wei.com>, <huangguangbin2@...wei.com>
Subject: [PATCH RESEND V2 net-next 0/4] net: hns3: add support ethtool extended link state
This series adds support for ethtool extended link state in the HNS3
ethernet driver to add one additional information for user to know
why a link is not up.
change log:
V1 -> V2:
1. fix missing a P for "-EOPNOTSUP".
2. delete unnecessary error log of this feature is not supported by
devices of earlier version.
Guangbin Huang (4):
docs: ethtool: Add two link extended substates of bad signal integrity
ethtool: add two link extended substates of bad signal integrity
net: hns3: add header file hns3_ethtoo.h
net: hns3: add support ethtool extended link state
Documentation/networking/ethtool-netlink.rst | 8 +++
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 +
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 82 ++++++++++++++++++----
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.h | 31 ++++++++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 3 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 24 +++++++
include/uapi/linux/ethtool.h | 2 +
7 files changed, 137 insertions(+), 15 deletions(-)
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.h
--
2.8.1
Powered by blists - more mailing lists