[dpdk-dev] [dpdk-stable] [PATCH 3/3] test/hash: init hash parameters in the correct function
Honnappa Nagarahalli
Honnappa.Nagarahalli at arm.com
Fri Jun 28 06:55:01 CEST 2019
<snip>
static int
test_rwc_reader(__attribute__((unused)) void *arg)
{
@@ -1254,7 +1257,6 @@ test_hash_readwrite_lf_main(void)
*/
int rwc_lf = 0;
int htm;
- int use_jhash = 0;
int ext_bkt = 0;
if (rte_lcore_count() == 1) {
printf("More than one lcore is required "
@@ -1272,8 +1274,6 @@ test_hash_readwrite_lf_main(void)
else
htm = 0;
- if (init_params(rwc_lf, use_jhash, htm, ext_bkt) != 0)
- return -1;
if (generate_keys() != 0)
return -1;
if (get_enabled_cores_list() != 0)
--
2.17.1
This patch impacts the memory allocations, it should be placed before patch 2.
[Honnappa] Done in V2
--
David Marchand
More information about the dev
mailing list