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

From: Huazhong Tan
Date: Thu Jun 13 2019 - 11:55:09 EST


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

[patch 1/12 - 6/12] adds some code optimizations and bugfixes about RAS
and MSI-X HW error.

[patch 7/12] fixes a loading issue.

[patch 8/12 - 11/12] adds some bugfixes.

[patch 12/12] adds some cleanups, which does not change the logic of code.

Peng Li (1):
net: hns3: clear restting state when initializing HW device

Shiju Jose (4):
net: hns3: delay setting of reset level for hw errors until slot_reset
is called
net: hns3: fix avoid unnecessary resetting for the H/W errors which do
not require reset
net: hns3: process H/W errors occurred before HNS dev initialization
net: hns3: add recovery for the H/W errors occurred before the HNS dev
initialization

Weihang Li (3):
net: hns3: some changes of MSI-X bits in PPU(RCB)
net: hns3: extract handling of mpf/pf msi-x errors into functions
net: hns3: some variable modification

Yonglong Liu (1):
net: hns3: free irq when exit from abnormal branch

Yunsheng Lin (3):
net: hns3: fix for dereferencing before null checking
net: hns3: fix for skb leak when doing selftest
net: hns3: delay ring buffer clearing during reset

drivers/net/ethernet/hisilicon/hns3/hnae3.c | 3 +-
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 8 +-
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 5 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 47 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 6 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 16 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 523 ++++++++++++---------
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 3 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 115 +++--
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 15 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 20 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 8 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 11 +-
15 files changed, 476 insertions(+), 308 deletions(-)

--
2.7.4