test/hash: init parameters in the correct function
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tue, 2 Jul 2019 00:27:22 +0000 (19:27 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jul 2019 08:43:51 +0000 (10:43 +0200)
commit6f43682e07bb5475c64401ec14f490581b9c435d
treee5d5a56883d5ae4057e7a0127e4aa4afd446e6ea
parente60635c14c1589b9362b7e77c780ff608686d668
test/hash: init parameters in the correct function

Each test case initializes its hash parameters in the test case
function. To be consistent, generate keys function should initialize
hash parameters similarly.

Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency")
Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
app/test/test_hash_readwrite_lf.c