[dpdk-dev] [PATCH v4 2/2] test/hash: lock-free rw concurrency test ext bkt

Thomas Monjalon thomas at monjalon.net
Tue Apr 2 02:57:37 CEST 2019


02/04/2019 01:08, Dharmik Thakkar:
> Add unit test to check for hash lookup and bulk-lookup perf for
> extendable bucket feature.
> It is tested with both lock-free enabled and lock-free disabled case.
> 
> Test includes:
> 
> - hash lookup on keys in ext bkt
> - hash delete causing key-shifts of keys from ext bkt to secondary bkt
> 
> Suggested-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Signed-off-by: Dharmik Thakkar <dharmik.thakkar at arm.com>
> Acked-by: Yipeng Wang <yipeng1.wang at intel.com>
> ---
> v4:
> - Add Acked-by tag.

FYI, no need to send a new version just for this.

Please run devtools/test-meson-builds.sh.
When building build-clang-static, I see this error:

app/test/test_hash_readwrite_lf.c:670:13: error:
variable 'key_cnt' is used uninitialized whenever 'if' condition is false





More information about the dev mailing list