[PATCH V2 net-next 00/12] net: hns3: some code optimizations & cleanups & bugfixes

From: Huazhong Tan
Date: Thu Jun 06 2019 - 22:09:32 EST


This patch-set includes code optimizations, cleanups and bugfixes for
the HNS3 ethernet controller driver.

[patch 1/12] logs more detail error info for ROCE RAS errors.

[patch 2/12] fixes a wrong size issue for mailbox responding.

[patch 3/12] makes HW GRO handing compliant with SW one.

[patch 4/12] refactors hns3_get_new_int_gl.

[patch 5/12] adds handling for VF's over_8bd_nfe_err.

[patch 6/12 - 12/12] adds some code optimizations and cleanups, to
make the code more readable and compliant with some static code
analysis tools, these modifications do not change the logic of
the code.

Change log:
V1->V2: fixes comment from David Miller.

Jian Shen (1):
net: hns3: small changes for magic numbers

Weihang Li (2):
net: hns3: trigger VF reset if a VF has an over_8bd_nfe_err
net: hns3: fix some coding style issues

Xiaofei Tan (1):
net: hns3: log detail error info of ROCEE ECC and AXI errors

Yonglong Liu (1):
net: hns3: delete the redundant user NIC codes

Yufeng Mo (3):
net: hns3: use macros instead of magic numbers
net: hns3: refactor PF/VF RSS hash key configuration
net: hns3: some modifications to simplify and optimize code

Yunsheng Lin (3):
net: hns3: make HW GRO handling compliant with SW GRO
net: hns3: replace numa_node_id with numa_mem_id for buffer reusing
net: hns3: refactor hns3_get_new_int_gl function

Zhongzhu Liu (1):
net: hns3: fix wrong size of mailbox responding data

drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 2 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.c | 21 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 7 -
drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c | 12 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 199 ++++++-----
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 43 +--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 24 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 20 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 175 +++++++++-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 4 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 372 ++++++++++-----------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 26 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 4 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 141 ++++----
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 85 ++---
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 3 +
16 files changed, 658 insertions(+), 480 deletions(-)

--
2.7.4