Lines Matching refs:keys
62 static uint8_t keys[KEYS_TO_ADD][MAX_KEYSIZE]; variable
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()
184 keys[0][j] = 0; in get_input_keys()
195 keys[i][0] = ++k; in get_input_keys()
197 if (keys[i][0] == 0) in get_input_keys()
203 keys[i][j] = keys[i - 1][j]; in get_input_keys()
205 keys[i][j] = keys[i][j]; in get_input_keys()
209 keys[i][j] = keys[i-1][j] + 1; in get_input_keys()
211 keys[i][j] = keys[i][j] + 1; in get_input_keys()
212 if (keys[i][j] == 0) in get_input_keys()
220 signatures[i] = rte_hash_hash(h[table_index], keys[i]); in get_input_keys()
231 ret = rte_hash_add_key_with_hash(h[table_index], keys[i], in get_input_keys()
273 (const void *) keys[i], in timed_adds()
281 (const void *) keys[i], in timed_adds()
291 (const void *) keys[i], in timed_adds()
298 ret = rte_hash_add_key(h[table_index], keys[i]); in timed_adds()
338 (const void *) keys[j], in timed_lookups()
353 (const void *) keys[j], in timed_lookups()
362 (const void *) keys[j], &ret_data); in timed_lookups()
375 ret = rte_hash_lookup(h[table_index], keys[j]); in timed_lookups()
419 keys_burst[k] = keys[j * BURST_SIZE + k]; in timed_lookups_multi()
537 (const void *) keys[i], in timed_deletes()
541 (const void *) keys[i]); in timed_deletes()
655 uint32_t *keys = NULL; in fbk_hash_perf_test() local
670 keys = rte_zmalloc(NULL, ENTRIES * sizeof(*keys), 0); in fbk_hash_perf_test()
671 if (keys == NULL) { in fbk_hash_perf_test()
683 keys[added] = key; in fbk_hash_perf_test()
701 value += rte_fbk_hash_lookup(handle, keys[indexes[j]]); in fbk_hash_perf_test()