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:
4183d6d
)
vhost: fix coverity warning
62/4162/1
author
Pierre Pfister
<ppfister@cisco.com>
Thu, 8 Dec 2016 07:58:47 +0000
(07:58 +0000)
committer
Pierre Pfister
<ppfister@cisco.com>
Thu, 8 Dec 2016 07:58:47 +0000
(07:58 +0000)
Change-Id: Ifb9f8d2528142ad9f11a2b6d5ac10ff9639dd5d6
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/virtio/vhost-user.c
patch
|
blob
|
history
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.