avf: properly set irq queue masks
Type: fix Fixes:ae91180
Change-Id: I9c55c3fdf41089d337b998e2e28abb23d81525ef Signed-off-by: Damjan Marion <damarion@cisco.com> (cherry picked from commit2ca9a84bd0
)
This commit is contained in:

committed by
steven luong

parent
9e25c7723d
commit
dc4161eb85
@ -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,
|
||||
|
Reference in New Issue
Block a user