summaryrefslogtreecommitdiff
path: root/test/test/autotest_data.py
diff options
context:
space:
mode:
authorDharmik Thakkar <dharmik.thakkar@arm.com>2018-10-26 00:37:33 -0500
committerThomas Monjalon <thomas@monjalon.net>2018-10-26 12:50:43 +0200
commitc7eb0972e74b013491c49edea55d7763cdfe7d7a (patch)
treef9a985c58fd04b808d8a0b65bbb6eb794c933741 /test/test/autotest_data.py
parente605a1d36ca7ee9182c43d1ec912eeb90cc7fd64 (diff)
downloaddpdk-c7eb0972e74b013491c49edea55d7763cdfe7d7a.zip
dpdk-c7eb0972e74b013491c49edea55d7763cdfe7d7a.tar.gz
dpdk-c7eb0972e74b013491c49edea55d7763cdfe7d7a.tar.xz
test/hash: add lock-free r/w concurrency
Unit tests to check for hash lookup and bulk-lookup perf with lock-free enabled and with lock-free disabled. Unit tests performed with readers running in parallel with writers. Tests include: - hash lookup on existing keys with: - hash add causing NO key-shifts of existing keys in the table - hash lookup on existing keys likely to be on shift-path with: - hash add causing key-shifts of existing keys in the table - hash lookup on existing keys NOT likely to be on shift-path with: - hash add causing key-shifts of existing keys in the table - hash lookup on non-existing keys with: - hash add causing NO key-shifts of existing keys in the table - hash add causing key-shifts of existing keys in the table - hash lookup on keys likely to be on shift-path with: - multiple writers causing key-shifts of existing keys in the table Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Yipeng Wang <yipeng1.wang@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'test/test/autotest_data.py')
-rw-r--r--test/test/autotest_data.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test/autotest_data.py b/test/test/autotest_data.py
index 51f8e16..4eae588 100644
--- a/test/test/autotest_data.py
+++ b/test/test/autotest_data.py
@@ -580,6 +580,12 @@ non_parallel_test_list = [
"Report": None,
},
{
+ "Name": "Hash read-write lock-free concurrency autotest",
+ "Command": "hash_readwrite_lf_autotest",
+ "Func": default_autotest,
+ "Report": None,
+ },
+ {
"Name": "Power autotest",
"Command": "power_autotest",
"Func": default_autotest,