X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fvnet%2Fdevices%2Fvirtio%2Fvhost-user.c;h=bde8106c5012dd95b9875955175ae38565dcdd48;hb=14ac8010ef9f5e401263dbb60e90b8c71d871c52;hp=6741e932131c2e765f55c4bf2f5bcf2ec7c21a79;hpb=4183d6d763326e79c67a4f7db61390d6654ea6c7;p=vpp.git diff --git a/vnet/vnet/devices/virtio/vhost-user.c b/vnet/vnet/devices/virtio/vhost-user.c index 6741e932131..bde8106c501 100644 --- 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.