[dpdk-dev] [PATCH v2 0/2] rte ring c11 bug fix and optimization

Gavin Hu gavin.hu at arm.com
Wed Oct 31 04:35:43 CET 2018


v1->v2
1) Add the changes to the 18.11 release notes 

V1:
Updated the rte ring C11 driver including the following changes
1) Synchronize the load and store of the tail to ensure the enqueue/dequeue
   operations are really completed before seen by the observers on the other
   sides.
2) Move the atomic load of head above the loop for the first iteration,it is
   not unnecessary and degrade performance for the other iteration as the head
   was loaded in the failure case of CAS.

Gavin Hu (2):
  ring: synchronize the load and store of the tail
  ring: move the atomic load of head above the loop

 doc/guides/rel_notes/release_18_11.rst |  7 +++++++
 lib/librte_ring/rte_ring_c11_mem.h     | 24 +++++++++++++++++-------
 2 files changed, 24 insertions(+), 7 deletions(-)

-- 
2.7.4



More information about the dev mailing list