Skip to content

new ring reset api and use it by hash

Gavin Hu dpdk-dev 9 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest2 patches 1 replyApplied
  2. v92 patches 5 repliesSuperseded
  3. v82 patches 0 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v72 patches11 repliesSuperseded
v63 patches1 replySuperseded
v53 patches2 repliesSuperseded
v43 patches5 repliesSuperseded
v32 patches1 replySuperseded
v22 patches2 repliesSuperseded

Changes in v10 from the cover letter

- remove the CC: lines as not in the data plane.

Patches in v10 Applied

#Subject and filesSizeRepliesApplied
1/2ring: add reset API to flush the ring when not in uselib/librte_ring/rte_ring.c lib/librte_ring/rte_ring.h lib/librte_ring/rte_ring_version.map+31 -00 replies
2/2hash: flush the rings instead of dequeuing one by onelib/librte_hash/Makefile lib/librte_hash/meson.build lib/librte_hash/rte_cuckoo_hash.c+8 -80 replies

Reviews trailers per patch

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

PatchRuifeng WangHonnappa NagarahalliOlivier MatzYipeng Wang
1/2R-b R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v10 thread

Cover letter [dpdk-dev] [PATCH v10 0/2] new ring reset api and use it by hash

V2:
- fix the coding style issue(commit message line too long)
V3:
- allow experimental API for meson build
V4:
- include the ring perf test case enhancement patch in the series.
- replace ARRAY_SIZE with RTE_DIM.
- call memset to avoid clang compling complains.
V5:
- commit message tweaking for ring test case enhancement patch
- upper to lower for mails to make match/grep more easily
V6:
- make upper case for the user name to comply with the convention.
V7:
- leave the ring test case patch out as not closely linked to this series in logic
V8:
- the static inline function is removed from the rte_ring_version.map
V9:
- change the static inline function into a standard function to keep an api/abi compat layer in the future
- add back the change to the rte_ring_version.map file
V10:
- remove the CC: lines as not in the data plane.

Gavin Hu (2):
ring: add reset API to flush the ring when not in use
hash: flush the rings instead of dequeuing one by one

 lib/librte_hash/Makefile             |  2 +-
 lib/librte_hash/meson.build          |  3 +++
 lib/librte_hash/rte_cuckoo_hash.c    | 11 ++++-------
 lib/librte_ring/rte_ring.c           |  7 +++++++
 lib/librte_ring/rte_ring.h           | 17 +++++++++++++++++
 lib/librte_ring/rte_ring_version.map |  7 +++++++
 6 files changed, 39 insertions(+), 8 deletions(-)
Signature · 1 line
2.7.4