Home
last modified time | relevance | path

Searched refs:hash_key (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/mips/cavium/cryptocteon/
H A Dcryptocteon.c167 char hash_key[SHA1_HASH_LEN]; in cryptocteon_calc_hash() local
169 memset(hash_key, 0, sizeof(hash_key)); in cryptocteon_calc_hash()
170 memcpy(hash_key, key, csp->csp_auth_klen); in cryptocteon_calc_hash()
171 octo_calc_hash(csp->csp_auth_alg == CRYPTO_SHA1_HMAC, hash_key, in cryptocteon_calc_hash()
H A Dcavium_crypto.c235 uint8_t hash_key[64]; in octo_calc_hash() local
242 memset(hash_key, 0, sizeof(hash_key)); in octo_calc_hash()
243 memcpy(hash_key, (uint8_t *) key, (auth ? 20 : 16)); in octo_calc_hash()
244 key1 = (uint64_t *) hash_key; in octo_calc_hash()
280 memset(hash_key, 0, sizeof(hash_key)); in octo_calc_hash()
281 memcpy(hash_key, (uint8_t *) key, (auth ? 20 : 16)); in octo_calc_hash()
282 key1 = (uint64_t *) hash_key; in octo_calc_hash()
/f-stack/freebsd/contrib/ena-com/
H A Dena_com.c1125 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key()
1127 ENA_RSS_FILL_KEY(&hash_key->key, sizeof(hash_key->key)); in ena_com_hash_key_fill_default_key()
1143 rss->hash_key, in ena_com_hash_key_allocate()
1157 if (rss->hash_key) in ena_com_hash_key_destroy()
1160 rss->hash_key, in ena_com_hash_key_destroy()
1163 rss->hash_key = NULL; in ena_com_hash_key_destroy()
2487 hash_key = rss->hash_key; in ena_com_fill_hash_function()
2515 hash_key->key_parts = key_len / sizeof(hash_key->key[0]); in ena_com_fill_hash_function()
2567 ena_dev->rss.hash_key; in ena_com_get_hash_key()
2570 memcpy(key, hash_key->key, in ena_com_get_hash_key()
[all …]
H A Dena_com.h296 struct ena_admin_feature_rss_flow_hash_control *hash_key; member
/f-stack/dpdk/drivers/net/ena/base/
H A Dena_com.c1075 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key()
1077 ENA_RSS_FILL_KEY(&hash_key->key, sizeof(hash_key->key)); in ena_com_hash_key_fill_default_key()
1092 sizeof(*rss->hash_key), in ena_com_hash_key_allocate()
1093 rss->hash_key, in ena_com_hash_key_allocate()
1097 if (unlikely(!rss->hash_key)) in ena_com_hash_key_allocate()
1107 if (rss->hash_key) in ena_com_hash_key_destroy()
1110 rss->hash_key, in ena_com_hash_key_destroy()
1113 rss->hash_key = NULL; in ena_com_hash_key_destroy()
2369 hash_key = rss->hash_key; in ena_com_fill_hash_function()
2449 ena_dev->rss.hash_key; in ena_com_get_hash_key()
[all …]
H A Dena_com.h268 struct ena_admin_feature_rss_flow_hash_control *hash_key; member
/f-stack/dpdk/drivers/net/e1000/
H A Digb_rxtx.c1945 uint8_t *hash_key; in igb_hw_rss_hash_set() local
1951 hash_key = rss_conf->rss_key; in igb_hw_rss_hash_set()
1952 if (hash_key != NULL) { in igb_hw_rss_hash_set()
1955 rss_key = hash_key[(i * 4)]; in igb_hw_rss_hash_set()
1956 rss_key |= hash_key[(i * 4) + 1] << 8; in igb_hw_rss_hash_set()
1957 rss_key |= hash_key[(i * 4) + 2] << 16; in igb_hw_rss_hash_set()
1958 rss_key |= hash_key[(i * 4) + 3] << 24; in igb_hw_rss_hash_set()
2021 uint8_t *hash_key; in eth_igb_rss_hash_conf_get() local
2028 hash_key = rss_conf->rss_key; in eth_igb_rss_hash_conf_get()
2029 if (hash_key != NULL) { in eth_igb_rss_hash_conf_get()
[all …]
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rss.c231 memcpy(req->hash_key, key_cur, key_size); in hns3_set_rss_algo_key()
682 uint8_t *hash_key = rss_cfg->key; in hns3_config_rss() local
704 ret = hns3_set_rss_algo_key(hw, hash_key); in hns3_config_rss()
H A Dhns3_cmd.h567 uint8_t hash_key[HNS3_RSS_HASH_KEY_NUM]; member
/f-stack/dpdk/drivers/net/liquidio/
H A Dlio_ethdev.c604 uint8_t *hash_key = NULL; in lio_dev_rss_hash_conf_get() local
614 hash_key = rss_conf->rss_key; in lio_dev_rss_hash_conf_get()
615 if (hash_key != NULL) in lio_dev_rss_hash_conf_get()
616 memcpy(hash_key, rss_state->hash_key, rss_state->hash_key_size); in lio_dev_rss_hash_conf_get()
675 memcpy(rss_state->hash_key, rss_conf->rss_key, in lio_dev_rss_hash_update()
677 memcpy(rss_param->key, rss_state->hash_key, in lio_dev_rss_hash_update()
H A Dlio_struct.h382 uint8_t hash_key[LIO_RSS_MAX_KEY_SZ]; member
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c2783 uint8_t *hash_key; in txgbe_dev_rss_hash_update() local
2795 hash_key = rss_conf->rss_key; in txgbe_dev_rss_hash_update()
2796 if (hash_key) { in txgbe_dev_rss_hash_update()
2799 rss_key = LS32(hash_key[(i * 4) + 0], 0, 0xFF); in txgbe_dev_rss_hash_update()
2800 rss_key |= LS32(hash_key[(i * 4) + 1], 8, 0xFF); in txgbe_dev_rss_hash_update()
2842 uint8_t *hash_key; in txgbe_dev_rss_hash_conf_get() local
2848 hash_key = rss_conf->rss_key; in txgbe_dev_rss_hash_conf_get()
2849 if (hash_key) { in txgbe_dev_rss_hash_conf_get()
2853 hash_key[(i * 4) + 0] = RS32(rss_key, 0, 0xFF); in txgbe_dev_rss_hash_conf_get()
2854 hash_key[(i * 4) + 1] = RS32(rss_key, 8, 0xFF); in txgbe_dev_rss_hash_conf_get()
[all …]
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c3442 uint8_t *hash_key; in ixgbe_hw_rss_hash_set() local
3453 hash_key = rss_conf->rss_key; in ixgbe_hw_rss_hash_set()
3454 if (hash_key != NULL) { in ixgbe_hw_rss_hash_set()
3457 rss_key = hash_key[(i * 4)]; in ixgbe_hw_rss_hash_set()
3458 rss_key |= hash_key[(i * 4) + 1] << 8; in ixgbe_hw_rss_hash_set()
3459 rss_key |= hash_key[(i * 4) + 2] << 16; in ixgbe_hw_rss_hash_set()
3460 rss_key |= hash_key[(i * 4) + 3] << 24; in ixgbe_hw_rss_hash_set()
3535 uint8_t *hash_key; in ixgbe_dev_rss_hash_conf_get() local
3546 hash_key = rss_conf->rss_key; in ixgbe_dev_rss_hash_conf_get()
3547 if (hash_key != NULL) { in ixgbe_dev_rss_hash_conf_get()
[all …]
/f-stack/dpdk/drivers/net/igc/
H A Digc_txrx.c853 uint32_t *hash_key = (uint32_t *)rss_conf->rss_key; in igc_hw_rss_hash_set() local
857 if (hash_key != NULL) { in igc_hw_rss_hash_set()
862 IGC_WRITE_REG_LE_VALUE(hw, IGC_RSSRK(i), hash_key[i]); in igc_hw_rss_hash_set()
H A Digc_ethdev.c2369 uint32_t *hash_key = (uint32_t *)rss_conf->rss_key; in eth_igc_rss_hash_conf_get() local
2373 if (hash_key != NULL) { in eth_igc_rss_hash_conf_get()
2386 hash_key[i] = IGC_READ_REG_LE_VALUE(hw, IGC_RSSRK(i)); in eth_igc_rss_hash_conf_get()
/f-stack/dpdk/app/test-pmd/
H A Dtestpmd.h959 uint8_t *hash_key, uint hash_key_len);
H A Dconfig.c3033 port_rss_hash_key_update(portid_t port_id, char rss_type[], uint8_t *hash_key, in port_rss_hash_key_update() argument
3049 rss_conf.rss_key = hash_key; in port_rss_hash_key_update()
H A Dcmdline.c2352 uint8_t hash_key[RSS_HASH_KEY_LENGTH]; in cmd_config_rss_hash_key_parsed() local
2366 dev_info.hash_key_size <= sizeof(hash_key)) in cmd_config_rss_hash_key_parsed()
2388 hash_key[i] = (uint8_t) ((xdgt0 * 16) + xdgt1); in cmd_config_rss_hash_key_parsed()
2390 port_rss_hash_key_update(res->port_id, res->rss_type, hash_key, in cmd_config_rss_hash_key_parsed()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev_vf.c2632 uint32_t *hash_key = (uint32_t *)key; in i40evf_set_rss_key() local
2636 i40e_write_rx_ctl(hw, I40E_VFQF_HKEY(i), hash_key[i]); in i40evf_set_rss_key()
H A Di40e_ethdev.c7613 uint32_t *hash_key = (uint32_t *)key; in i40e_set_rss_key() local
7621 hash_key[i]); in i40e_set_rss_key()
7626 hash_key[i]); in i40e_set_rss_key()
/f-stack/dpdk/app/test/
H A Dtest_cryptodev.c2004 uint8_t hash_key[key_len]; in create_wireless_algo_hash_session() local
2010 memcpy(hash_key, key, key_len); in create_wireless_algo_hash_session()
2021 ut_params->auth_xform.auth.key.data = hash_key; in create_wireless_algo_hash_session()
/f-stack/app/nginx-1.16.1/contrib/vim/syntax/
H A Dnginx.vim2072 syn keyword ngxDirectiveThirdParty contained hash_key
/f-stack/dpdk/drivers/net/bnxt/
H A Dhsi_struct_def_dpdk.h28909 uint32_t hash_key[10]; member