[PATCH net-next 0/9] net: hns3: add some optimizations ane cleanups

From: Huazhong Tan
Date: Thu Oct 31 2019 - 07:23:00 EST


This series adds some code optimizations and cleanups for
the HNS3 ethernet driver.

[patch 1/9] dumps some debug information when reset fail.

[patch 2/9] dumps some struct netdev_queue information when
TX timeout.

[patch 3/9] cleanups some magic numbers.

[patch 4/9] cleanups some coding style issue.

[patch 5/9] fixes a compiler warning.

[patch 6/9] optimizes some local variable initialization.

[patch 7/9] modifies some comments.

[patch 8/9] cleanups some print format warnings.

[patch 9/9] cleanups byte order issue.

Guangbin Huang (3):
net: hns3: cleanup some coding style issues
net: hns3: optimize local variable initialization
net: hns3: add or modify some comments

Guojia Liao (4):
net: hns3: cleanup some magic numbers
net: hns3: cleanup a format-truncation warning
net: hns3: cleanup some print format warning
net: hns3: cleanup byte order issues when printed

Huazhong Tan (1):
net: hns3: dump some debug information when reset fail

Yunsheng Lin (1):
net: hns3: add struct netdev_queue debug info for TX timeout

drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 4 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.c | 2 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 4 +-
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 69 +++++++------
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 29 +++---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 4 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 12 +--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 7 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 30 ++++--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 2 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 109 ++++++++++++---------
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 2 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 109 +++++++++++----------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 3 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 15 +--
.../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 2 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 4 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 10 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 50 ++++++++--
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 18 ++--
20 files changed, 278 insertions(+), 207 deletions(-)

--
2.7.4