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

From: Huazhong Tan
Date: Thu Jun 20 2019 - 05:00:00 EST


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

[patch 1/11] fixes a selftest issue when doing autoneg.

[patch 2/11 - 3-11] adds two code optimizations about VLAN issue.

[patch 4/11] restores the MAC autoneg state after reset.

[patch 5/11 - 8/11] adds some code optimizations and bugfixes about
HW errors handling.

[patch 9/11 - 11/11] fixes some issues related to driver loading and
unloading.

Huazhong Tan (2):
net: hns3: fix race conditions between reset and module loading &
unloading
net: hns3: fixes wrong place enabling ROCE HW error when loading

Jian Shen (4):
net: hns3: fix selftest fail issue for fibre port with autoneg on
net: hns3: remove VF VLAN filter entry inexistent warning print
net: hns3: sync VLAN filter entries when kill VLAN ID failed
net: hns3: restore the MAC autoneg state after reset

Weihang Li (5):
net: hns3: code optimizaition of hclge_handle_hw_ras_error()
net: hns3: modify handling of out of memory in hclge_err.c
net: hns3: remove override_pci_need_reset
net: hns3: add check to number of buffer descriptors
net: hns3: add exception handling when enable NIC HW error interrupts

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 4 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 10 ++
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 117 +++++++++------
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 5 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 166 +++++++++++++++++----
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 50 ++++++-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 3 +
9 files changed, 279 insertions(+), 80 deletions(-)

--
2.7.4