From dc4161eb85cea9963ce5d4ad162907ec816636d6 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 22 Aug 2019 13:36:15 +0200 Subject: avf: properly set irq queue masks Type: fix Fixes: ae91180 Change-Id: I9c55c3fdf41089d337b998e2e28abb23d81525ef Signed-off-by: Damjan Marion (cherry picked from commit 2ca9a84bd00f2aee642d0147c1b99d4be5725a70) --- src/plugins/avf/device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/avf/device.c b/src/plugins/avf/device.c index 543a54e60ca..d7e91d9aa09 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, -- cgit 1.2.3-korg