mbox series

[net-next,0/4] net: hns3: add support ethtool extended link state

Message ID 1628520642-30839-1-git-send-email-huangguangbin2@huawei.com
Headers show
Series net: hns3: add support ethtool extended link state | expand

Message

huangguangbin (A) Aug. 9, 2021, 2:50 p.m. UTC
This series adds support for ethtool extended link state in the HNS3
ethernet driver.

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    | 27 +++++++
 include/uapi/linux/ethtool.h                       |  2 +
 7 files changed, 140 insertions(+), 15 deletions(-)
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.h

Comments

huangguangbin (A) Aug. 10, 2021, 1:08 a.m. UTC | #1
On 2021/8/10 4:54, Jakub Kicinski wrote:
> On Mon, 9 Aug 2021 22:50:42 +0800 Guangbin Huang wrote:

>> +	if (!h->ae_algo->ops->get_link_diagnosis_info)

>> +		return -EOPNOTSUP;

> 

> Missing a P at the end here, this patch does not build.

> .

> 

I am very sorry, I will modify this fault and pay attentiaon to it later.