diff options
author | Damjan Marion <damarion@cisco.com> | 2019-08-22 13:36:15 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-08-22 14:33:39 +0000 |
commit | 2ca9a84bd00f2aee642d0147c1b99d4be5725a70 (patch) | |
tree | ce5b751f1b9192afc52fb320c06e09155557010c /src/plugins/avf | |
parent | 22bb417e91c7bdf639b24b5edd321028f56ea04a (diff) |
avf: properly set irq queue masks
Type: fix
Fixes: ae91180
Change-Id: I9c55c3fdf41089d337b998e2e28abb23d81525ef
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/avf')
-rw-r--r-- | src/plugins/avf/device.c | 3 |
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, |