[PATCH net-next 0/6] net: hns3: support set_link_ksettings and for nway_reset ethtool command

From: Lipeng
Date: Thu Nov 02 2017 - 23:51:58 EST


This patch-set adds support for set_link_ksettings && for nway_resets
ethtool command and fixes some related ethtool bugs.
1, patch[4/6] adds support for ethtool_ops.set_link_ksettings.
2, patch[5/6] adds support ethtool_ops.for nway_reset.
3, patch[1/6,2/6,3/6,6/6] fix some bugs for getting port information by
ethtool command(ethtool ethx).

Fuyun Liang (6):
net: hns3: fix for getting autoneg in hns3_get_link_ksettings
net: hns3: fix for getting advertised_caps in hns3_get_link_ksettings
net: hns3: fix a bug in hns3_driv_to_eth_caps
net: hns3: add support for set_link_ksettings
net: hns3: add support for nway_reset
net: hns3: fix a bug for phy supported feature initialization

.../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 10 +++
.../ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 71 +++++++++++++++-------
2 files changed, 59 insertions(+), 22 deletions(-)

--
1.9.1