[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1628770118-18714-1-git-send-email-huangguangbin2@huawei.com>
Date: Thu, 12 Aug 2021 20:08:34 +0800
From: Guangbin Huang <huangguangbin2@...wei.com>
To: <davem@...emloft.net>, <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<lipeng321@...wei.com>, <huangguangbin2@...wei.com>
Subject: [PATCH 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