git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/ipsec-secgw: fix session mempool initialisation
[dpdk.git]
/
drivers
/
net
/
virtio
/
virtio_rxtx_simple_altivec.c
diff --git
a/drivers/net/virtio/virtio_rxtx_simple_altivec.c
b/drivers/net/virtio/virtio_rxtx_simple_altivec.c
index
003b6ec
..
a260ebd
100644
(file)
--- a/
drivers/net/virtio/virtio_rxtx_simple_altivec.c
+++ b/
drivers/net/virtio/virtio_rxtx_simple_altivec.c
@@
-85,7
+85,7
@@
virtio_recv_pkts_vec(void *rx_queue, struct rte_mbuf **rx_pkts,
if (unlikely(nb_pkts < RTE_VIRTIO_DESC_PER_LOOP))
return 0;
- nb_used =
VIRTQUEUE_NUSED
(vq);
+ nb_used =
virtqueue_nused
(vq);
rte_compiler_barrier();