[PATCH net-next 0/8] net: hns3: add some cleanups

From: Guangbin Huang
Date: Fri Aug 27 2021 - 05:32:59 EST


This series includes some cleanups for the HNS3 ethernet driver.

Guangbin Huang (1):
net: hns3: add macros for mac speeds of firmware command

Hao Chen (1):
net: hns3: uniform type of function parameter cmd

Huazhong Tan (1):
net: hns3: add hns3_state_init() to do state initialization

Peng Li (5):
net: hns3: remove redundant param mbx_event_pending
net: hns3: use memcpy to simplify code
net: hns3: remove redundant param to simplify code
net: hns3: package new functions to simplify hclgevf_mbx_handler code
net: hns3: merge some repetitive macros

drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 5 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 29 +++--
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 23 ++--
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 58 +++++-----
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 22 ++--
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 10 --
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 22 ++--
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 22 ++--
.../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 122 ++++++++++-----------
9 files changed, 151 insertions(+), 162 deletions(-)

--
2.8.1