aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/avf/device.c')
-rw-r--r--src/plugins/avf/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c
index 5cdc8b25e61..b11de27e651 100644
--- a/src/plugins/avf/device.c
+++ b/src/plugins/avf/device.c
@@ -693,7 +693,8 @@ avf_op_config_irq_map (vlib_main_t * vm, avf_device_t * ad)
imi->vecmap[0].vector_id = 1;
imi->vecmap[0].vsi_id = ad->vsi_id;
- imi->vecmap[0].rxq_map = 1;
+ imi->vecmap[0].rxq_map = (1 << ad->n_rx_queues) - 1;
+ imi->vecmap[0].txq_map = (1 << ad->n_tx_queues) - 1;
avf_log_debug (ad, "config_irq_map: vsi_id %u vector_id %u rxq_map %u",
ad->vsi_id, imi->vecmap[0].vector_id,