[PATCH V2 net-next 00/12] code optimizations & bugfixes for HNS3 driver

From: Huazhong Tan
Date: Sat Apr 13 2019 - 21:50:23 EST


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

[patch 1/12 - 4/12] optimizes the VLAN freature and adds support for port
based VLAN, fixes some related bugs about the current implementation.

[patch 5/12 - 12/12] includes some other code optimizations for the HNS3
ethernet controller driver.

Change log:
V1->V2: modifies some patches' commint log and code.

Jian Shen (5):
net: hns3: modify VLAN initialization to be compatible with port based
VLAN
net: hns3: fix VLAN offload handle for VLAN inserted by port
net: hns3: fix set port based VLAN for PF
net: hns3: fix set port based VLAN issue for VF
net: hns3: do not initialize MDIO bus when PHY is inexistent

Peng Li (2):
net: hns3: free the pending skb when clean RX ring
net: hns3: code optimization for command queue' spin lock

Weihang Li (1):
net: hns3: set dividual reset level for all RAS and MSI-X errors

Yunsheng Lin (4):
net: hns3: minor refactor for hns3_rx_checksum
net: hns3: add hns3_gro_complete for HW GRO process
net: hns3: always assume no drop TC for performance reason
net: hns3: divide shared buffer between TC

drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h | 3 +
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 9 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 256 ++++--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 4 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 956 +++++++++++++--------
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h | 1 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 378 ++++++--
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 29 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 42 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c | 8 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 4 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 51 ++
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 2 +
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 11 +-
14 files changed, 1224 insertions(+), 530 deletions(-)

--
2.7.4