Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vhost: fix coverity warning
[vpp.git]
/
vnet
/
vnet
/
devices
/
virtio
/
vhost-user.c
diff --git
a/vnet/vnet/devices/virtio/vhost-user.c
b/vnet/vnet/devices/virtio/vhost-user.c
index
6741e93
..
bde8106
100644
(file)
--- a/
vnet/vnet/devices/virtio/vhost-user.c
+++ b/
vnet/vnet/devices/virtio/vhost-user.c
@@
-2155,7
+2155,7
@@
retry:
buffer_map_addr += cpy->len;
desc_len += cpy->len;
- CLIB_PREFETCH (&rxvq->desc,
sizeof (&rxvq->desc)
, LOAD);
+ CLIB_PREFETCH (&rxvq->desc,
CLIB_CACHE_LINE_BYTES
, LOAD);
}
// Check if vlib buffer has more data. If not, get more or break.