Re: [PATCH net] net: hns3: fix mis-counting IRQ vector numbers issue

2019-10-19 Thread David Miller
From: Huazhong Tan Date: Fri, 18 Oct 2019 11:42:59 +0800 > From: Yonglong Liu > > Currently, the num_msi_left means the vector numbers of NIC, > but if the PF supported RoCE, it contains the vector numbers > of NIC and RoCE(Not expected). > > This may cause interrupts lost in some case, becaus

Re: [PATCH net] net: hns3: fix mis-counting IRQ vector numbers issue

2019-10-18 Thread Jakub Kicinski
On Fri, 18 Oct 2019 11:42:59 +0800, Huazhong Tan wrote: > From: Yonglong Liu > > Currently, the num_msi_left means the vector numbers of NIC, > but if the PF supported RoCE, it contains the vector numbers > of NIC and RoCE(Not expected). > > This may cause interrupts lost in some case, because o

[PATCH net] net: hns3: fix mis-counting IRQ vector numbers issue

2019-10-17 Thread Huazhong Tan
From: Yonglong Liu Currently, the num_msi_left means the vector numbers of NIC, but if the PF supported RoCE, it contains the vector numbers of NIC and RoCE(Not expected). This may cause interrupts lost in some case, because of the NIC module used the vector resources which belongs to RoCE. Thi