test/hash: check lock-free extendable bucket
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Tue, 2 Apr 2019 19:44:55 +0000 (19:44 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 3 Apr 2019 18:55:02 +0000 (20:55 +0200)
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@arm.com>
Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>

No differences found