linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/12] net: hns3: misc updates for -next
@ 2020-05-28 13:48 Huazhong Tan
  2020-05-28 13:48 ` [PATCH net-next 01/12] net: hns3: remove an unnecessary 'goto' in hclge_init_ae_dev() Huazhong Tan
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Huazhong Tan @ 2020-05-28 13:48 UTC (permalink / raw)
  To: davem
  Cc: netdev, linux-kernel, salil.mehta, yisen.zhuang, linuxarm, kuba,
	Huazhong Tan

This patchset includes some updates for the HNS3 ethernet driver.

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

Huazhong Tan (12):
  net: hns3: remove an unnecessary 'goto' in hclge_init_ae_dev()
  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    | 50 ++++++++++------------
 .../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, 31 insertions(+), 79 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-05-28 23:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 13:48 [PATCH net-next 00/12] net: hns3: misc updates for -next Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 01/12] net: hns3: remove an unnecessary 'goto' in hclge_init_ae_dev() Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 02/12] net: hns3: add a missing mutex destroy in hclge_init_ad_dev() Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 03/12] net: hns3: refactor hclge_config_tso() Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 04/12] net: hns3: refactor hclge_query_bd_num_cmd_send() Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 05/12] net: hns3: modify an incorrect type in struct hclge_cfg_gro_status_cmd Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 06/12] net: hns3: modify an incorrect type in struct hclgevf_cfg_gro_status_cmd Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 07/12] net: hns3: remove some unused fields in struct hns3_nic_priv Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 08/12] net: hns3; remove unused HNAE3_RESTORE_CLIENT in enum hnae3_reset_notify_type Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 09/12] net: hns3: remove unused struct hnae3_unic_private_info Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 10/12] net: hns3: remove two duplicated register macros in hclgevf_main.h Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 11/12] net: hns3: remove some unused fields in struct hclge_dev Huazhong Tan
2020-05-28 13:48 ` [PATCH net-next 12/12] net: hns3: print out speed info when parsing speed fails Huazhong Tan
2020-05-28 23:39 ` [PATCH net-next 00/12] net: hns3: misc updates for -next David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).