Home
last modified time | relevance | path

Searched refs:key_data (Results 1 – 15 of 15) sorted by relevance

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_gen_hash.c104 hash_tbl->key_tbl.key_data = rte_zmalloc("Generic hash keys", in ulp_gen_hash_tbl_list_init()
106 if (!hash_tbl->key_tbl.key_data) { in ulp_gen_hash_tbl_list_init()
163 if (hash_tbl->key_tbl.key_data) { in ulp_gen_hash_tbl_list_deinit()
164 rte_free(hash_tbl->key_tbl.key_data); in ulp_gen_hash_tbl_list_deinit()
165 hash_tbl->key_tbl.key_data = NULL; in ulp_gen_hash_tbl_list_deinit()
199 if (!hash_tbl || !entry || !entry->key_data || entry->key_length != in ulp_gen_hash_tbl_list_key_search()
206 hash_id = tf_hash_calc_crc32(entry->key_data, in ulp_gen_hash_tbl_list_key_search()
223 if (!memcmp(entry->key_data, in ulp_gen_hash_tbl_list_key_search()
224 &hash_tbl->key_tbl.key_data[key_idx * in ulp_gen_hash_tbl_list_key_search()
329 memcpy(&hash_tbl->key_tbl.key_data[key_index], entry->key_data, in ulp_gen_hash_tbl_list_add()
[all …]
H A Dulp_gen_hash.h17 uint8_t *key_data; member
86 uint8_t *key_data; member
H A Dulp_mapper.c2886 hash_entry.key_data = cache_key; in ulp_mapper_gen_tbl_process()
/dpdk/drivers/net/bnxt/hcapi/cfa/
H A Dhcapi_cfa.h59 uint64_t (*hcapi_cfa_key_hash)(uint64_t *key_data, uint16_t bitlen);
99 struct hcapi_cfa_key_data *key_data,
113 uint64_t hcapi_cfa_p4_key_hash(uint64_t *key_data, uint16_t bitlen);
117 uint64_t hcapi_cfa_p58_key_hash(uint64_t *key_data, uint16_t bitlen);
H A Dhcapi_cfa_p58.c102 uint64_t hcapi_cfa_p58_key_hash(uint64_t *key_data, in hcapi_cfa_p58_key_hash() argument
114 key0_hash = hcapi_cfa_crc32_hash(((uint8_t *)key_data) + in hcapi_cfa_p58_key_hash()
117 key1_hash = hcapi_cfa_lookup3_hash((uint8_t *)key_data); in hcapi_cfa_p58_key_hash()
H A Dhcapi_cfa_defs.h348 uint64_t hcapi_cfa_key_hash(uint64_t *key_data,
377 uint64_t hcapi_cfa_p4_key_hash(uint64_t *key_data,
379 uint64_t hcapi_cfa_p58_key_hash(uint64_t *key_data,
H A Dhcapi_cfa_p4.c124 uint64_t hcapi_cfa_p4_key_hash(uint64_t *key_data, in hcapi_cfa_p4_key_hash() argument
137 hcapi_cfa_crc32_hash(((uint8_t *)key_data) + (bitlen / 8) - 1); in hcapi_cfa_p4_key_hash()
139 key1_hash = hcapi_cfa_lookup3_hash((uint8_t *)key_data); in hcapi_cfa_p4_key_hash()
/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_b0.c126 u32 key_data = cfg->is_rss ? in hw_atl_b0_hw_rss_hash_set() local
128 hw_atl_rpf_rss_key_wr_data_set(self, key_data); in hw_atl_b0_hw_rss_hash_set()
/dpdk/lib/hash/
H A Drte_hash.h77 typedef void (*rte_hash_free_key_data)(void *p, void *key_data);
H A Drte_cuckoo_hash.c1477 void *key_data = NULL; in __hash_rcu_qsbr_free_resource() local
1489 key_data = k->pdata; in __hash_rcu_qsbr_free_resource()
1492 key_data); in __hash_rcu_qsbr_free_resource()
/dpdk/drivers/common/cnxk/
H A Droc_npc_mcam.c705 uint64_t key_data[2] = {0ULL, 0ULL}; in npc_program_mcam() local
753 key_data[index] |= in npc_program_mcam()
768 memcpy(pst->flow->mcam_data, key_data, key_len); in npc_program_mcam()
/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_device.h1054 uint64_t (*tf_dev_cfa_key_hash)(uint64_t *key_data,
/dpdk/drivers/common/iavf/
H A Dvirtchnl_inline_ipsec.h193 u8 key_data[VIRTCHNL_IPSEC_MAX_KEY_LEN]; member
/dpdk/drivers/crypto/qat/
H A Dqat_sym_session.c631 const uint8_t *key_data = auth_xform->key.data; in qat_sym_session_configure_auth() local
751 key_data, in qat_sym_session_configure_auth()
766 key_data, in qat_sym_session_configure_auth()
780 key_data, in qat_sym_session_configure_auth()
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c369 memcpy(cfg->key_data, aead->key.data, cfg->key_len); in sa_add_set_aead_params()
398 memcpy(cfg->key_data, cipher->key.data, cfg->key_len); in sa_add_set_cipher_params()
445 memcpy(cfg->key_data, auth->key.data, cfg->key_len); in sa_add_set_auth_params()