mbox series

[net-next,0/7] net: hns3: misc updates

Message ID 1599533994-32744-1-git-send-email-tanhuazhong@huawei.com
Headers show
Series net: hns3: misc updates | expand

Message

tanhuazhong Sept. 8, 2020, 2:59 a.m. UTC
There are some misc updates for the HNS3 ethernet driver.

#1 narrows two local variable range in hclgevf_reset_prepare_wait().
#2 adds reset failure check in periodic service task.
#3~#7 adds some cleanups.

Guangbin Huang (2):
  net: hns3: skip periodic service task if reset failed
  net: hns3: fix a typo in struct hclge_mac

Guojia Liao (1):
  net: hns3: remove some unused function hns3_update_promisc_mode()

Huazhong Tan (4):
  net: hns3: narrow two local variable range in
    hclgevf_reset_prepare_wait()
  net: hns3: remove unused field 'io_base' in struct hns3_enet_ring
  net: hns3: remove unused field 'tc_num_last_time' in struct hclge_dev
  net: hns3: remove some unused macros related to queue

 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c          | 16 ----------------
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h          |  7 -------
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c  |  3 +++
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h  |  3 +--
 .../net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c    | 15 +++++++++------
 5 files changed, 13 insertions(+), 31 deletions(-)

Comments

Jakub Kicinski Sept. 8, 2020, 7:05 p.m. UTC | #1
On Tue, 8 Sep 2020 10:59:47 +0800 Huazhong Tan wrote:
> There are some misc updates for the HNS3 ethernet driver.
> 
> #1 narrows two local variable range in hclgevf_reset_prepare_wait().
> #2 adds reset failure check in periodic service task.
> #3~#7 adds some cleanups.

Looks trivial:

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
David Miller Sept. 9, 2020, 2:52 a.m. UTC | #2
From: Jakub Kicinski <kuba@kernel.org>
Date: Tue, 8 Sep 2020 12:05:38 -0700

> On Tue, 8 Sep 2020 10:59:47 +0800 Huazhong Tan wrote:
>> There are some misc updates for the HNS3 ethernet driver.
>> 
>> #1 narrows two local variable range in hclgevf_reset_prepare_wait().
>> #2 adds reset failure check in periodic service task.
>> #3~#7 adds some cleanups.
> 
> Looks trivial:
> 
> Reviewed-by: Jakub Kicinski <kuba@kernel.org>

Series applied, thanks everyone.