Skip to content

RFC RCU integration with hash library

Dharmik Thakkar dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/ixgbe: avoid multpile definitions of 'bool'drivers/net/ixgbe/ixgbe_ethdev.h+1 -03 replies
2/3lib/hash: integrate RCU QSBRlib/librte_hash/Makefile lib/librte_hash/meson.build lib/librte_hash/rte_cuckoo_hash.c +3 more+363 -360 replies
3/3test/hash: add tests for integrated RCU QSBRapp/test/test_hash_readwrite_lf.c+693 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRuifeng WangRay KinsellaDmitry KozlyukYipeng WangPallavi Kadam
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b A-b A-b A-b A-b T-b T-b A-b A-b A-b A-b T-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [dpdk-dev] [RFC 0/3] RCU integration with hash library

This patchset integrates RCU QSBR support with hash library.

Note: This patchset has dependency on another patchset:

      https://patchwork.dpdk.org/cover/57813/

Refer to RCU documentation to understand various aspects of integrating RCU library into other libraries.

Introduce a new API rte_hash_rcu_qsbr_add for application to register a RCU variable that hash library will use.

Add functional and performance test cases.

Fix 'ixgbe_ethdev.h' to avoid multiple definitions of 'bool'. (Please note that this fix is temporary. Recommend suggesting better solution)

Dharmik Thakkar (3):
net/ixgbe: avoid multpile definitions of 'bool' lib/hash: integrate RCU QSBR
test/hash: add tests for integrated RCU QSBR

 app/test/test_hash_readwrite_lf.c    | 700 ++++++++++++++++++++++++++-
 drivers/net/ixgbe/ixgbe_ethdev.h     |   1 +
 lib/librte_hash/Makefile             |   2 +-
 lib/librte_hash/meson.build          |   2 +
 lib/librte_hash/rte_cuckoo_hash.c    | 354 +++++++++++++-
 lib/librte_hash/rte_cuckoo_hash.h    |   3 +
 lib/librte_hash/rte_hash.h           |  38 +-
 lib/librte_hash/rte_hash_version.map |   2 +-
 8 files changed, 1065 insertions(+), 37 deletions(-)
Signature · 1 line
2.17.1