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

From: Huazhong Tan
Date: Tue May 28 2019 - 05:07:56 EST


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

[patch 1/12] fixes a compile warning reported by kbuild test robot.

[patch 2/12] fixes HNS3_RXD_GRO_SIZE_M macro definition error.

[patch 3/12] adds a debugfs command to dump firmware information.

[patch 4/12 - 10/12] adds some code optimizaions and cleanups for
reset and driver unloading.

[patch 11/12 - 12/12] adds two bugfixes.

Huazhong Tan (9):
net: hns3: use HCLGE_STATE_NIC_REGISTERED to indicate PF NIC client
has registered
net: hns3: use HCLGE_STATE_ROCE_REGISTERED to indicate PF ROCE client
has registered
net: hns3: use HCLGEVF_STATE_NIC_REGISTERED to indicate VF NIC client
has registered
net: hns3: modify hclge_init_client_instance()
net: hns3: modify hclgevf_init_client_instance()
net: hns3: add handshake with hardware while doing reset
net: hns3: stop schedule reset service while unloading driver
net: hns3: adjust hns3_uninit_phy()'s location in the
hns3_client_uninit()
net: hns3: fix a memory leak issue for
hclge_map_unmap_ring_to_vf_vector

Jian Shen (1):
net: hns3: fix compile warning without CONFIG_RFS_ACCEL

Yunsheng Lin (1):
net: hns3: fix for HNS3_RXD_GRO_SIZE_M macro

Zhongzhu Liu (1):
net: hns3: add support for dump firmware statistics by debugfs

drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 1 +
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 6 +-
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 8 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 57 +++++++++++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 110 ++++++++++++++-------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 2 +
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 4 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 2 -
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 95 ++++++++++++------
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 2 +
12 files changed, 213 insertions(+), 80 deletions(-)

--
2.7.4