Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 18.11.1
[deb_dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_user
/
virtio_user_dev.c
diff --git
a/drivers/net/virtio/virtio_user/virtio_user_dev.c
b/drivers/net/virtio/virtio_user/virtio_user_dev.c
index
20816c9
..
9c8bcd2
100644
(file)
--- a/
drivers/net/virtio/virtio_user/virtio_user_dev.c
+++ b/
drivers/net/virtio/virtio_user/virtio_user_dev.c
@@
-624,7
+624,7
@@
virtio_user_handle_cq(struct virtio_user_dev *dev, uint16_t queue_idx)
/* Update used ring */
uep = &vring->used->ring[avail_idx];
/* Update used ring */
uep = &vring->used->ring[avail_idx];
- uep->id =
avail
_idx;
+ uep->id =
desc
_idx;
uep->len = n_descs;
vring->used->idx++;
uep->len = n_descs;
vring->used->idx++;