[PATCH net-next 00/12] net: hns3: code optimizations & bugfixes for HNS3 driver

From: Huazhong Tan
Date: Fri Jan 18 2019 - 03:15:02 EST


This patchset includes bugfixes and code optimizations for the HNS3
ethernet controller driver

Huazhong Tan (11):
net: hns3: modify enet reinitialization interface
net: hns3: remove unused member in struct hns3_enet_ring
net: hns3: remove unnecessary hns3_adjust_tqps_num
net: hns3: reuse reinitialization interface in the hns3_set_channels
net: hns3: add interface hclge_tm_bp_setup
net: hns3: modify parameter checks in the hns3_set_channels
net: hns3: remove redundant codes in hclge_knic_setup
net: hns3: fix user configuration loss for ethtool -L
net: hns3: adjust the use of alloc_tqps and num_tqps
net: hns3: fix wrong combined count returned by ethtool -l
net: hns3: do reinitialization while ETS configuration changed

Yunsheng Lin (1):
net: hns3: add HNAE3_RESTORE_CLIENT interface in enet module

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 180 ++++++++-------------
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 1 -
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 17 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 96 ++++-------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 65 ++++++--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 1 +
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +-
9 files changed, 166 insertions(+), 200 deletions(-)

--
2.7.4