From b0f76ad6fb9ff068754f12acc3a331669ce4f5c0 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Tue, 26 Jul 2016 14:11:48 -0300 Subject: Imported Upstream version 16.07-rc5 Change-Id: I1780a4c3b475eaf7e08e8ea67fba3a5257daa39c Signed-off-by: Ricardo Salveti --- lib/librte_ring/rte_ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/librte_ring/rte_ring.h') diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h index f928324d..0e22e694 100644 --- a/lib/librte_ring/rte_ring.h +++ b/lib/librte_ring/rte_ring.h @@ -756,7 +756,7 @@ __rte_ring_sc_do_dequeue(struct rte_ring *r, void **obj_table, /* copy in table */ DEQUEUE_PTRS(); - rte_smp_wmb(); + rte_smp_rmb(); __RING_STAT_ADD(r, deq_success, n); r->cons.tail = cons_next; -- cgit 1.2.3-korg