[PATCH net-next 00/11] net: hns3: misc updates for -next

From: Huazhong Tan
Date: Thu May 28 2020 - 08:47:22 EST


This patchset includes some updates for the HNS3 ethernet driver.

#1 adds a missing mutex destroy.
#2&3 refactor two function, make them more readable and maintainable.
#4&5 fix unsuitable type of gro enable field both for PF & VF.
#6-#10 removes some unused fields, macro and redundant definitions.
#11 adds more debug info for parsing speed fails.

Huazhong Tan (11):
net: hns3: add a missing mutex destroy in hclge_init_ad_dev()
net: hns3: refactor hclge_config_tso()
net: hns3: refactor hclge_query_bd_num_cmd_send()
net: hns3: modify an incorrect type in struct hclge_cfg_gro_status_cmd
net: hns3: modify an incorrect type in struct
hclgevf_cfg_gro_status_cmd
net: hns3: remove some unused fields in struct hns3_nic_priv
net: hns3; remove unused HNAE3_RESTORE_CLIENT in enum
hnae3_reset_notify_type
net: hns3: remove unused struct hnae3_unic_private_info
net: hns3: remove two duplicated register macros in hclgevf_main.h
net: hns3: remove some unused fields in struct hclge_dev
net: hns3: print out speed info when parsing speed fails

drivers/net/ethernet/hisilicon/hns3/hnae3.h | 12 ------
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 22 -----------
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 4 +-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 44 ++++++++++------------
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 6 ---
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 4 +-
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 8 ++--
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 4 +-
8 files changed, 29 insertions(+), 75 deletions(-)

--
2.7.4