Merge branch 'hns3-add-some-new-features-and-fix-some-bugs'
Peng Li says:
====================
hns3: add some new features and fix some bugs
This patchset adds 3 ethtool features: get_channels,
get_coalesce and get_coalesce, and fix some bugs.
[patch 1/11] adds ethtool_ops.get_channels (ethtool -l) support
for VF.
[patch 2/11] removes TSO config command from VF driver,
as only main PF can config TSO MSS length according to
hardware.
[patch 3/11 - 4/11] add ethtool_ops {get|set}_coalesce
(ethtool -c/-C) support to PF.
[patch 5/11 - 9/11] fix some bugs related to {get|set}_coalesce.
[patch 10/11 - 11/11] fix the features handling in
hns3_nic_set_features(). Local variable "changed" was defined
to indicates features changed, but was used only for feature
NETIF_F_HW_VLAN_CTAG_RX. Add checking to improve the reliability.
---
Change log:
V1 -> V2:
1, Rewrite the cover letter requested by David Miller.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/hisilicon/hns3/hnae3.h 7 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hnae3.h
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 93 additions, 55 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_enet.c
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h 22 additions, 4 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_enet.h
- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 179 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 5 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h 0 additions, 8 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h
- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 30 additions, 20 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
Loading
Please register or sign in to comment