net: hns3: fix mis-counting IRQ vector numbers issue
driver inclusion category: bugfix bugzilla: NA CVE: NA 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. This patch correct the value of num_msi_left to be equals to the vector numbers of NIC, and adjust the default tqp numbers according to the value of num_msi_left. Feature or Bugfix:Bugfix Signed-off-by:Yonglong Liu <liuyonglong@huawei.com> Reviewed-by:
lipeng <lipeng321@huawei.com> Reviewed-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Please register or sign in to comment