[PATCH net-next 00/12] net: hns3: add some cleanups and optimizations

From: Huazhong Tan
Date: Wed Aug 28 2019 - 10:25:41 EST


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

[patch 01/12] adds code optimization for debugfs command "dump reg".

[patch 02/12] fixes magic number issues.

[patch 03/12] modifies some parameters about hclge_dbg_dump_tm_map().

[patch 04/12] removes some unused parameters.

[patch 05/12] refactors some logs to make them more readable.

[patch 06/12] makes some resusable codes into functions.

[patch 07/12] fixes some type errors.

[patch 08/12] reduces the waiting time for per TQP reset.

[patch 09/12] implements .process_hw_error for hns3 client.

[patch 10/12] adds phy selftest for HNS3 driver.

[patch 11/12] adds checking for reset interrupt status when reset fails.

[patch 12/12] prevents SSU loopback when running ethtool -t.

Guojia Liao (2):
net: hns3: reduce the parameters of some functions
net: hns3: fix incorrect type in assignment.

Huazhong Tan (3):
net: hns3: use macro instead of magic number
net: hns3: modify base parameter of kstrtouint in
hclge_dbg_dump_tm_map
net: hns3: check reset interrupt status when reset fails

Weihang Li (1):
net: hns3: implement .process_hw_error for hns3 client

Yonglong Liu (1):
net: hns3: make some reusable codes into a function

Yufeng Mo (3):
net: hns3: optimize some log printings
net: hns3: add phy selftest function
net: hns3: not allow SSU loopback while execute ethtool -t dev

Zhongzhu Liu (2):
net: hns3: code optimization for debugfs related to "dump reg"
net: hns3: optimize waiting time for TQP reset

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 9 +-
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 25 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 24 ++
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 5 +
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 16 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 28 +++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 54 ++--
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 271 +++++++++++----------
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h | 19 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 42 ++--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 1 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 268 ++++++++++++++++----
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 9 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 10 +-
14 files changed, 546 insertions(+), 235 deletions(-)

--
2.7.4