hash: integrate RCU QSBR
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 7 repliesIn review
- v54 patches 6 repliesSuperseded
- v43 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 1 reply | Superseded | |
| v2 RFC | 1 patch | 5 replies | Superseded |
Changes in v6 from the cover letter
- Update documentation
- Remove hard-coded value
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | rcu: build on Windowslib/ | +1 | 2 replies | |
| 2/4 | lib/hash: integrate RCU QSBRdoc/ lib/ lib/ +3 more | +327 | 2 replies | |
| 3/4 | test/hash: replace rte atomic with C11 atomic APIsapp/ | +36 | 0 replies | |
| 4/4 | test/hash: add tests for integrated RCU QSBRapp/ app/ | +556 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Dmitry Kozlyuk | Ruifeng Wang | Yipeng Wang | Ray Kinsella | Pallavi Kadam |
|---|---|---|---|---|---|
| 1/4 | T-b | T-b | |||
| 2/4 | R-b | A-b | A-b | ||
| 3/4 | R-b | A-b | |||
| 4/4 | R-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 5 reviewers.
Cover letter [dpdk-dev] [PATCH v6 0/4] hash: integrate RCU QSBR
Integrate RCU QSBR to make it easier for the applications to use lock free algorithm.
Resource reclamation implementation was split from the original series, and has already been part of RCU library. Rework the series to base hash integration on RCU reclamation APIs.
Refer 'Resource reclamation framework for DPDK' available at [1] to understand various aspects of integrating RCU library into other libraries.
[1] https://doc.dpdk.org/guides/prog_guide/rcu_lib.html
Introduce a new API rte_hash_rcu_qsbr_add for application to register a RCU variable that hash library will use.
Functional tests and performance tests are added to cover the integration with RCU.
---
v6:
- Update documentation
- Remove hard-coded value
v5:
- Enable 'rcu' for Windows
v4:
- Fix clang compilation issues
v3:
- Add documentation
- Add unit tests
v2:
- Remove defer queue related functions and use resource reclamation APIs from the RCU QSBR library instead
- Remove patch (net/ixgbe: avoid multpile definitions of 'bool') from the series as it is already accepted
Dharmik Thakkar (4):
rcu: build on Windows
lib/hash: integrate RCU QSBR
test/hash: replace rte atomic with C11 atomic APIs test/hash: add tests for integrated RCU QSBR
app/test/test_hash.c | 390 ++++++++++++++++++++++++- app/test/test_hash_readwrite_lf_perf.c | 259 ++++++++++++---- doc/guides/prog_guide/hash_lib.rst | 12 +- lib/librte_hash/meson.build | 1 + lib/librte_hash/rte_cuckoo_hash.c | 303 ++++++++++++++----- lib/librte_hash/rte_cuckoo_hash.h | 8 + lib/librte_hash/rte_hash.h | 77 ++++- lib/librte_hash/version.map | 2 +- lib/meson.build | 1 + 9 files changed, 920 insertions(+), 133 deletions(-)
Signature · 1 line
2.17.1