Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
On 2019/6/1 8:18, David Miller wrote: From: David Miller Date: Fri, 31 May 2019 17:15:29 -0700 (PDT) From: Huazhong Tan Date: Fri, 31 May 2019 16:54:46 +0800 This patch-set includes code optimizations and bugfixes for the HNS3 ethernet controller driver. [patch 1/12] removes the redundant core reset type [patch 2/12 - 3/12] fixes two VLAN related issues [patch 4/12] fixes a TM issue [patch 5/12 - 12/12] includes some patches related to RAS & MSI-X error Series applied. I reverted, you need to actually build test the infiniband side of your driver. drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function ‘hns_roce_v2_msix_interrupt_abn’: drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5032:14: warning: passing argument 2 of ‘ops->set_default_reset_request’ makes pointer from integer without a cast [-Wint-conversion] HNAE3_FUNC_RESET); ^~~~ drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5032:14: note: expected ‘long unsigned int *’ but argument is of type ‘int’ C-c C-cmake[5]: *** Deleting file 'drivers/net/wireless/ath/carl9170/cmd.o' Sorry, I will remove [10/12 - 11/12] for V2, these two patches needs to modify HNS's infiniband driver at the same time, so they will be upstreamed later with the infiniband's one.
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: David Miller Date: Fri, 31 May 2019 17:15:29 -0700 (PDT) > From: Huazhong Tan > Date: Fri, 31 May 2019 16:54:46 +0800 > >> This patch-set includes code optimizations and bugfixes for the HNS3 >> ethernet controller driver. >> >> [patch 1/12] removes the redundant core reset type >> >> [patch 2/12 - 3/12] fixes two VLAN related issues >> >> [patch 4/12] fixes a TM issue >> >> [patch 5/12 - 12/12] includes some patches related to RAS & MSI-X error > > Series applied. I reverted, you need to actually build test the infiniband side of your driver. drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function ‘hns_roce_v2_msix_interrupt_abn’: drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5032:14: warning: passing argument 2 of ‘ops->set_default_reset_request’ makes pointer from integer without a cast [-Wint-conversion] HNAE3_FUNC_RESET); ^~~~ drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5032:14: note: expected ‘long unsigned int *’ but argument is of type ‘int’ C-c C-cmake[5]: *** Deleting file 'drivers/net/wireless/ath/carl9170/cmd.o'
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Fri, 31 May 2019 16:54:46 +0800 > This patch-set includes code optimizations and bugfixes for the HNS3 > ethernet controller driver. > > [patch 1/12] removes the redundant core reset type > > [patch 2/12 - 3/12] fixes two VLAN related issues > > [patch 4/12] fixes a TM issue > > [patch 5/12 - 12/12] includes some patches related to RAS & MSI-X error Series applied.
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Tue, 28 May 2019 17:02:50 +0800 > 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. Series applied, thanks.
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
Sorry, please ignore this patchset. I will send V2 to fix something else. On 2019/4/24 11:21, Huazhong Tan wrote: This patch-set includes code optimizations and bugfixes for the HNS3 ethernet controller driver. [patch 1/12 - 3/12] fixes some bugs about the IO path [patch 4/12 - 6/12] includes some optimization and bugfixes about mailbox message handling [patch 7/12 - 12/12] adds misc code optimizations and bugfixes. Huazhong Tan (7): net: hns3: stop sending keep alive msg when VF command queue needs reinit net: hns3: use atomic_t replace u32 for arq's count net: hns3: use a reserved byte to identify need_resp flag net: hns3: not reset TQP in the DOWN while VF resetting net: hns3: stop schedule reset service while unloading driver net: hns3: fix pause configure fail problem net: hns3: prevent double free in hns3_put_ring_config() Weihang Li (1): net: hns3: remove reset after command send failed Yunsheng Lin (3): net: hns3: fix data race between ring->next_to_clean net: hns3: fix for TX clean num when cleaning TX BD net: hns3: handle the BD info on the last BD of the packet liuzhongzhu (1): net: hns3: extend the loopback state acquisition time drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h| 7 ++- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c| 65 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h| 7 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 10 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 8 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 7 +-- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 5 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 2 +- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 12 ++-- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 1 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 9 ++- 11 files changed, 76 insertions(+), 57 deletions(-)
Re: [Patch net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Sat, 23 Feb 2019 17:22:07 +0800 > This patchset includes bugfixes and code optimizations for > the HNS3 ethernet controller driver. Series applied, thanks.
Re: [Patch net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Wed, 20 Feb 2019 10:32:39 +0800 > This patchset includes bugfixes and code optimizations for > the HNS3 ethernet controller driver. Series applied, thank you.
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Sat, 2 Feb 2019 22:39:25 +0800 > This patchset includes bugfixes and code optimizations for the HNS3 > ethernet controller driver Series applied.
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Thu, 31 Jan 2019 04:55:40 +0800 > This patchset includes bugfixes and code optimizations for the HNS3 > ethernet controller driver Series applied, thanks.
Re: [PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver
From: Huazhong Tan Date: Sun, 27 Jan 2019 00:49:09 +0800 > This patchset includes bugfixes and code optimizations for the HNS3 > ethernet controller driver Series applied, thanks.