tap: fix rx queue index

Type: fix

Change-Id: I5601bdeb47d08118476ff7bd29435d2c1dba34b9
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
(cherry picked from commit 04f4d91c9fe6c8d639e28edb5dd3df2c82f92428)
This commit is contained in:
Mohsin Kazmi
2020-05-26 14:34:34 +02:00
committed by Andrew Yourtchenko
parent 1e02f19305
commit 895c37fb8a

View File

@ -55,7 +55,8 @@ call_read_ready (clib_file_t * uf)
CLIB_UNUSED (ssize_t size) = read (uf->file_descriptor, &b, sizeof (b));
if ((qid & 1) == 0)
vnet_device_input_set_interrupt_pending (vnm, vif->hw_if_index, qid);
vnet_device_input_set_interrupt_pending (vnm, vif->hw_if_index,
RX_QUEUE_ACCESS (qid));
return 0;
}