ring: empty optimization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ring: coding style cleanuplib/ lib/ lib/ +2 more | +36 | 1 reply | |
| 2/2 | ring: empty optimizationlib/ | +3 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Konstantin Ananyev |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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