hash: implement RCU resources reclamation
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Wed, 21 Oct 2020 22:50:04 +0000 (17:50 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Sat, 24 Oct 2020 07:25:13 +0000 (09:25 +0200)
commit769b2de7fb528607bee5cc443dbcddb905a8f61e
treef25211606cb7610a42df438dd642c3736a492000
parentf28202adff9ba17972ecf62433249617578de411
hash: implement RCU resources reclamation

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 <honnappa.nagarahalli@arm.com>
Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
doc/guides/prog_guide/hash_lib.rst
lib/librte_hash/meson.build
lib/librte_hash/rte_cuckoo_hash.c
lib/librte_hash/rte_cuckoo_hash.h
lib/librte_hash/rte_hash.h
lib/librte_hash/version.map