On 16/10/2020 18:38, Dharmik Thakkar wrote:
Currently, users have to use external RCU mechanisms to free resources
when using lock free hash algorithm.
Integrate RCU QSBR process to make it easier for the applications to use
lock free algorithm.
Refer to RCU documentation to understand various aspects of
integrating RCU library into other libraries.
Suggested-by: Honnappa Nagarahalli <redacted>
Signed-off-by: Dharmik Thakkar <redacted>
Reviewed-by: Ruifeng Wang <redacted>
---
doc/guides/prog_guide/hash_lib.rst | 11 +-
lib/librte_hash/meson.build | 1 +
lib/librte_hash/rte_cuckoo_hash.c | 300 +++++++++++++++++++++------
lib/librte_hash/rte_cuckoo_hash.h | 8 +
lib/librte_hash/rte_hash.h | 77 ++++++-
lib/librte_hash/rte_hash_version.map | 2 +-
6 files changed, 324 insertions(+), 75 deletions(-)
Acked-by: Ray Kinsella <redacted>