Home
last modified time | relevance | path

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

/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.c70 static uint32_t hashtest_key_lens[] = { variable
104 memcpy(temp_key, keys[i], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
107 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
110 memcpy(keys[swap_idx], temp_key, hashtest_key_lens[params->cycle]); in shuffle_input_keys()
133 params->key_size = hashtest_key_lens[cycle]; in setup_keys_and_data()
327 testname, hashtest_key_lens[params->cycle], i); in exit_with_fail()
377 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()
138 memcpy(temp_key, keys[i], hashtest_key_lens[table_index]); in shuffle_input_keys()
142 memcpy(keys[i], keys[swap_idx], hashtest_key_lens[table_index]); in shuffle_input_keys()
146 memcpy(keys[swap_idx], temp_key, hashtest_key_lens[table_index]); in shuffle_input_keys()
178 for (j = 0; j < hashtest_key_lens[table_index]; j++) in get_input_keys()
194 for (j = 1; j < hashtest_key_lens[table_index]; j++) { in get_input_keys()
624 printf("%-18d", hashtest_key_lens[i]); in run_all_tbl_perf_tests()
H A Dtest_member_perf.c65 static uint32_t hashtest_key_lens[] = { variable
103 memcpy(temp_key, keys[i], hashtest_key_lens[params->cycle]); in shuffle_input_keys()
105 hashtest_key_lens[params->cycle]); in shuffle_input_keys()
107 hashtest_key_lens[params->cycle]); in shuffle_input_keys()
140 params->key_size = hashtest_key_lens[cycle]; in setup_keys_and_data()
513 testname, hashtest_key_lens[params->cycle], i, j); in exit_with_fail()
593 printf("%-18d", hashtest_key_lens[i]); in run_all_tbl_perf_tests()
609 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
253 for (k = 0; k < RTE_DIM(hashtest_key_lens); k++) { in run_hash_func_tests()
256 hashtest_key_lens[k]); in run_hash_func_tests()