580a05f9d4
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.
This patch adds a new variable num_nic_msi to store the vector
numbers of NIC, and adjust the default TQP numbers and rss_size
according to the value of num_nic_msi.
Fixes:
|
||
---|---|---|
.. | ||
hns | ||
hns3 | ||
Kconfig | ||
Makefile | ||
hip04_eth.c | ||
hisi_femac.c | ||
hix5hd2_gmac.c | ||
hns_mdio.c |