On 07/03/2018 05:28 AM, Tiwei Bie wrote:
On Wed, Jun 27, 2018 at 04:49:53PM +0200, Maxime Coquelin wrote:
[...]
@@ -1164,8 +1136,7 @@ rte_vhost_dequeue_burst(int vid, uint16_t queue_id,
if (mbuf_is_consumed(zmbuf->mbuf)) {
used_idx = vq->last_used_idx+
On Wed, Jun 27, 2018 at 04:49:53PM +0200, Maxime Coquelin wrote:
[...]
> @@ -1164,8 +1136,7 @@ rte_vhost_dequeue_burst(int vid, uint16_t queue_id,
>
> if (mbuf_is_consumed(zmbuf->mbuf)) {
> used_idx = vq->last_used_idx++ & (vq->size - 1);
Above
Relax used ring contention by reusing the shadow used
ring feature used by enqueue path.
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/virtio_net.c | 45 ++-
1 file changed, 10 insertions(+), 35 deletions(-)
diff --git a/lib/librte_vhost/virtio_net.
3 matches
Mail list logo