Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1e02f19
)
tap: fix rx queue index
68/28468/2
author
Mohsin Kazmi
<sykazmi@cisco.com>
Tue, 26 May 2020 12:34:34 +0000
(14:34 +0200)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Tue, 18 Aug 2020 19:47:21 +0000
(19:47 +0000)
Type: fix
Change-Id: I5601bdeb47d08118476ff7bd29435d2c1dba34b9
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
(cherry picked from commit
04f4d91c9fe6c8d639e28edb5dd3df2c82f92428
)
src/vnet/devices/virtio/virtio.c
patch
|
blob
|
history
diff --git
a/src/vnet/devices/virtio/virtio.c
b/src/vnet/devices/virtio/virtio.c
index
5e23bef
..
0fdac9c
100644
(file)
--- a/
src/vnet/devices/virtio/virtio.c
+++ b/
src/vnet/devices/virtio/virtio.c
@@
-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;
}