| /dpdk/examples/pipeline/examples/ |
| H A D | hash_func.cli | 5 # ./build/examples/dpdk-pipeline -l0-1 -- -s ./examples/pipeline/examples/hash_func.cli 13 pipeline codegen ./examples/pipeline/examples/hash_func.spec /tmp/hash_func.c 14 pipeline libbuild /tmp/hash_func.c /tmp/hash_func.so 30 pipeline PIPELINE0 build lib /tmp/hash_func.so io ./examples/pipeline/examples/ethdev.io numa 0
|
| /dpdk/lib/hash/ |
| H A D | rte_fbk_hash.c | 155 if (params->hash_func != NULL) { in rte_fbk_hash_create() 156 ht->hash_func = params->hash_func; in rte_fbk_hash_create() 160 ht->hash_func = default_hash_func; in rte_fbk_hash_create()
|
| H A D | rte_fbk_hash.h | 53 rte_fbk_hash_fn hash_func; /**< The hash function. */ member 76 rte_fbk_hash_fn hash_func; /**< The hash function. */ member 96 return (ht->hash_func(key, ht->init_val) & ht->bucket_mask) << in rte_fbk_hash_get_bucket()
|
| H A D | rte_cuckoo_hash.h | 188 rte_hash_function hash_func; /**< Function used to calculate hash. */ member
|
| H A D | rte_hash.h | 86 rte_hash_function hash_func; /**< Primary Hash function used to calculate hash. */ member
|
| H A D | rte_cuckoo_hash.c | 457 h->hash_func = (params->hash_func == NULL) ? in rte_hash_create() 458 default_hash_func : params->hash_func; in rte_hash_create() 578 return h->hash_func(key, h->key_len, h->hash_func_init_val); in rte_hash_max_key_id()
|
| /dpdk/lib/table/ |
| H A D | rte_swx_table_learner.c | 133 rte_swx_hash_func_t hash_func; member 229 p->hash_func = params->hash_func ? params->hash_func : rte_hash_crc; in table_params_get() 384 input_sig = t->params.hash_func(input_key, t->params.key_size, 0); in rte_swx_table_learner_lookup()
|
| H A D | rte_swx_table_em.c | 260 if (!params->hash_func) in __table_create() 261 t->params.hash_func = rte_hash_crc; in __table_create() 311 input_sig = t->params.hash_func(entry->key, t->params.key_size, 0); in table_add() 368 input_sig = t->params.hash_func(entry->key, t->params.key_size, 0); in table_del() 416 input_sig = t->params.hash_func(input_key, t->params.key_size, 0); in table_lookup_unoptimized() 516 input_sig = t->params.hash_func(input_key, t->params.key_size, 0); in table_lookup()
|
| H A D | rte_swx_table_learner.h | 85 rte_swx_hash_func_t hash_func; member
|
| H A D | rte_swx_table.h | 63 rte_swx_hash_func_t hash_func; 67 rte_swx_hash_func_t hash_func; global() member
|
| H A D | rte_table_hash_cuckoo.c | 111 .hash_func = p->f_hash, in rte_table_hash_cuckoo_create()
|
| /dpdk/app/test/ |
| H A D | test_func_reentrancy.c | 237 .hash_func = (rte_hash_function)rte_jhash_32b, in hash_create_free() 305 .hash_func = rte_jhash_1word, in fbk_create_free()
|
| H A D | test_hash_multiwriter.c | 112 .hash_func = rte_jhash, in test_hash_multiwriter()
|
| H A D | test_hash_readwrite.c | 139 hash_params.hash_func = rte_jhash; in init_params() 141 hash_params.hash_func = rte_hash_crc; in init_params()
|
| H A D | test_rcu_qsbr_perf.c | 343 .hash_func = rte_hash_crc, in init_hash()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_rss.c | 996 hns3_update_rss_algo_key(struct hns3_hw *hw, uint8_t hash_func, in hns3_update_rss_algo_key() argument 1005 modify_algo = hash_func != RTE_ETH_HASH_FUNCTION_DEFAULT; in hns3_update_rss_algo_key() 1009 if (modify_algo && hash_func >= RTE_DIM(hns3_hash_func_map)) { in hns3_update_rss_algo_key() 1010 hns3_err(hw, "hash func (%u) is unsupported.", hash_func); in hns3_update_rss_algo_key() 1026 hash_algo = hns3_hash_func_map[hash_func]; in hns3_update_rss_algo_key()
|
| /dpdk/lib/node/ |
| H A D | udp4_input.c | 53 .hash_func = rte_jhash,
|
| /dpdk/drivers/net/ena/base/ |
| H A D | ena_com.c | 1102 return ena_dev->rss.hash_func; in ena_com_get_current_hash_function() 2771 if (!(get_resp.u.flow_hash_func.supported_func & BIT(rss->hash_func))) { in ena_com_set_hash_function() 2773 rss->hash_func); in ena_com_set_hash_function() 2784 cmd.u.flow_hash_func.selected_func = 1 << rss->hash_func; in ena_com_set_hash_function() 2803 rss->hash_func, ret); in ena_com_set_hash_function() 2849 old_func = rss->hash_func; in ena_com_fill_hash_function() 2850 rss->hash_func = func; in ena_com_fill_hash_function() 2855 rss->hash_func = old_func; in ena_com_fill_hash_function() 2878 rss->hash_func = ENA_FFS(get_resp.u.flow_hash_func.selected_func); in ena_com_get_hash_function() 2879 if (rss->hash_func) in ena_com_get_hash_function() [all …]
|
| H A D | ena_com.h | 326 enum ena_admin_hash_functions hash_func; member
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_tbl_meta_cache.c | 23 .hash_func = rte_jhash, in sfc_tbl_meta_cache_ctor()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_swx_pipeline_internal.h | 190 struct hash_func { struct 191 TAILQ_ENTRY(hash_func) node; 197 TAILQ_HEAD(hash_func_tailq, hash_func); argument 835 struct instr_hash_func hash_func; member 907 struct hash_func *hf; 979 struct hash_func *hf; 2553 uint32_t hash_func_id = ip->hash_func.hash_func_id; in __instr_hash_func_exec() 2554 uint32_t dst_offset = ip->hash_func.dst.offset; in __instr_hash_func_exec() 2555 uint32_t n_dst_bits = ip->hash_func.dst.n_bits; in __instr_hash_func_exec() 2556 uint32_t src_struct_id = ip->hash_func.src.struct_id; in __instr_hash_func_exec() [all …]
|
| H A D | rte_swx_ctl.h | 243 rte_swx_hash_func_t hash_func; member
|
| H A D | rte_swx_pipeline.c | 1172 static struct hash_func * 1175 struct hash_func *elem; in hash_func_find() 1189 struct hash_func *f; in rte_swx_pipeline_hash_func_register() 1199 f = calloc(1, sizeof(struct hash_func)); in rte_swx_pipeline_hash_func_register() 1217 struct hash_func *func; in hash_func_build() 1246 struct hash_func *elem; in hash_func_free() 3081 struct hash_func *func; in instr_hash_translate() 3103 instr->hash_func.hash_func_id = (uint8_t)func->id; in instr_hash_translate() 3104 instr->hash_func.dst.offset = (uint8_t)dst->offset / 8; in instr_hash_translate() 3105 instr->hash_func.dst.n_bits = (uint8_t)dst->n_bits; in instr_hash_translate() [all …]
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_em.c | 973 .hash_func = ipv4_hash_crc, in setup_hash() 981 .hash_func = ipv6_hash_crc, in setup_hash()
|
| /dpdk/lib/ipsec/ |
| H A D | ipsec_sad.c | 298 hash_params.hash_func = DEFAULT_HASH_FUNC; in rte_ipsec_sad_create()
|