Skip to content

ring: empty optimization

Morten Brørup dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ring: coding style cleanuplib/librte_ring/rte_ring.c lib/librte_ring/rte_ring.h lib/librte_ring/rte_ring_elem.h +2 more+36 -361 reply
2/2ring: empty optimizationlib/librte_ring/rte_ring.h+3 -14 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKonstantin Ananyev
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/2] ring: empty optimization

Testing if the ring is empty is as simple as comparing the producer and consumer pointers.

Checkpatch complains about existing coding style violations, so the first part of the patch fixes those, and contains no functional changes.

Morten Brørup (2):
ring: coding style cleanup
ring: empty optimization

 lib/librte_ring/rte_ring.c      |  4 +--
 lib/librte_ring/rte_ring.h      | 46 +++++++++++++++++----------------
 lib/librte_ring/rte_ring_elem.h | 10 +++----
 lib/librte_ring/rte_ring_hts.h  |  8 +++---
 lib/librte_ring/rte_ring_rts.h  |  8 +++---
 5 files changed, 39 insertions(+), 37 deletions(-)
Signature · 1 line
2.17.1