This patchset includes bugfixes and code optimizations for the HNS3 ethernet controller driver
Change log: V1->V2: fixes comment from Eric Dumazet Huazhong Tan (1): net: hns3: fix bug of ethtool_ops.get_channels for VF Jian Shen (2): net: hns3: add rx multicast packets statistic net: hns3: refactor the statistics updating for netdev Peng Li (2): net: hns3: add calling roce callback function when link status change net: hns3: clear param in ring when free ring Yunsheng Lin (6): net: hns3: fix rss configuration lost problem when setting channel net: hns3: fix for shaper not setting when TC num changes net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED net: hns3: do not return GE PFC setting err when initializing net: hns3: add ETS TC weight setting in SSU module net: hns3: fix PFC not setting problem for DCB module liuzhongzhu (1): net: hns3: add statistics for PFC frames and MAC control frames drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +- .../net/ethernet/hisilicon/hns3/hns3_enet.c | 44 ++++-- .../net/ethernet/hisilicon/hns3/hns3_enet.h | 8 + .../ethernet/hisilicon/hns3/hns3_ethtool.c | 1 + .../hisilicon/hns3/hns3pf/hclge_cmd.c | 12 +- .../hisilicon/hns3/hns3pf/hclge_cmd.h | 4 +- .../hisilicon/hns3/hns3pf/hclge_dcb.c | 19 +-- .../hisilicon/hns3/hns3pf/hclge_main.c | 138 ++++++++++++++---- .../hisilicon/hns3/hns3pf/hclge_main.h | 8 + .../ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 70 +++++++-- .../ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 7 +- .../hisilicon/hns3/hns3vf/hclgevf_main.c | 10 +- 12 files changed, 251 insertions(+), 73 deletions(-) -- 2.20.1