net/e1000: fix VF Rx interrupt enabling
When using UIO, after enabling the interrupt to get the PF
message, VF RX queue interrupt is not working.
It's expected, as UIO doesn't support multiple interrupt.
So, PMD should not try to enable RX queue interrupt. Then
APP can know the RX queue interrupt is not enabled and only
choose the polling mode.
Fixes: 316f4f1adc
("net/igb: support VF mailbox interrupt for link up/down")
CC: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
This commit is contained in:
parent
8d1f13f96c
commit
61c1f1b791
@ -3295,7 +3295,8 @@ igbvf_dev_start(struct rte_eth_dev *dev)
|
||||
}
|
||||
|
||||
/* check and configure queue intr-vector mapping */
|
||||
if (dev->data->dev_conf.intr_conf.rxq != 0) {
|
||||
if (rte_intr_cap_multiple(intr_handle) &&
|
||||
dev->data->dev_conf.intr_conf.rxq) {
|
||||
intr_vector = dev->data->nb_rx_queues;
|
||||
ret = rte_intr_efd_enable(intr_handle, intr_vector);
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user