Home
last modified time | relevance | path

Searched refs:hashtest_key_lens (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_hash_functions.c66 static uint32_t hashtest_key_lens[] = { variable
131 for (j = 0; j < RTE_DIM(hashtest_key_lens); j++) { in run_hash_func_perf_tests()
133 run_hash_func_perf_test(hashtest_key_lens[j], in run_hash_func_perf_tests()
155 for (i = 0; i < RTE_DIM(hashtest_key_lens); i++) { in verify_precalculated_hash_func_tests()
157 hash = rte_jhash(key, hashtest_key_lens[i], in verify_precalculated_hash_func_tests()
162 hashtest_key_lens[i], hashtest_initvals[j], in verify_precalculated_hash_func_tests()
167 hash = rte_hash_crc(key, hashtest_key_lens[i], in verify_precalculated_hash_func_tests()
195 for (i = 0; i < RTE_DIM(hashtest_key_lens); i++) { in verify_jhash_32bits()
198 if ((hashtest_key_lens[i] & 0x3) == 0) { in verify_jhash_32bits()
199 hash = rte_jhash(key, hashtest_key_lens[i], in verify_jhash_32bits()
[all …]
H A Dtest_efd_perf.c60 static uint32_t hashtest_key_lens[] = { variable
94 memcpy(temp_key, keys[i], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
97 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
100 memcpy(keys[swap_idx], temp_key, hashtest_key_lens[params->cycle]); in shuffle_input_keys()
123 params->key_size = hashtest_key_lens[cycle]; in setup_keys_and_data()
317 testname, hashtest_key_lens[params->cycle], i); in exit_with_fail()
367 printf("%-18d", hashtest_key_lens[i]); in run_all_tbl_perf_tests()
H A Dtest_hash_perf.c40 static uint32_t hashtest_key_lens[] = { variable
89 hashtest_key_lens[table_index]); in create_table()
92 hashtest_key_lens[table_index]); in create_table()
106 ut_params.key_len = hashtest_key_lens[table_index]; in create_table()
143 memcpy(temp_key, keys[i], hashtest_key_lens[table_index]); in shuffle_input_keys()
147 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[table_index]); in shuffle_input_keys()
151 memcpy(keys[swap_idx], temp_key, hashtest_key_lens[table_index]); in shuffle_input_keys()
183 for (j = 0; j < hashtest_key_lens[table_index]; j++) in get_input_keys()
199 for (j = 1; j < hashtest_key_lens[table_index]; j++) { in get_input_keys()
629 printf("%-18d", hashtest_key_lens[i]); in run_all_tbl_perf_tests()
H A Dtest_member_perf.c54 static uint32_t hashtest_key_lens[] = { variable
92 memcpy(temp_key, keys[i], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
94 hashtest_key_lens[params->cycle]); in shuffle_input_keys()
96 hashtest_key_lens[params->cycle]); in shuffle_input_keys()
129 params->key_size = hashtest_key_lens[cycle]; in setup_keys_and_data()
502 testname, hashtest_key_lens[params->cycle], i, j); in exit_with_fail()
582 printf("%-18d", hashtest_key_lens[i]); in run_all_tbl_perf_tests()
598 printf("%-18d", hashtest_key_lens[i]); in run_all_tbl_perf_tests()
H A Dtest_hash.c38 static uint32_t hashtest_key_lens[] = {0, 2, 4, 5, 6, 7, 8, 10, 11, 15, 16, 21, 31, 32, 33, 63, 64}; variable
249 for (k = 0; k < RTE_DIM(hashtest_key_lens); k++) { in run_hash_func_tests()
252 hashtest_key_lens[k]); in run_hash_func_tests()