| /dpdk/lib/hash/ |
| H A D | rte_thash.c | 91 uint8_t hash_key[0]; member 265 rte_memcpy(ctx->hash_key, key, key_len); in rte_thash_init_ctx() 268 ctx->hash_key[i] = rte_rand(); in rte_thash_init_ctx() 280 rte_thash_complete_matrix(ctx->matrices, ctx->hash_key, in rte_thash_init_ctx() 398 set_bit(ctx->hash_key, get_bit_lfsr(lfsr), i); in generate_subkey() 403 set_bit(ctx->hash_key, get_rev_bit_lfsr(lfsr), i); in generate_subkey() 407 rte_thash_complete_matrix(ctx->matrices, ctx->hash_key, in generate_subkey() 418 tmp = (uint32_t *)(&ctx->hash_key[offset >> 3]); in get_subvalue() 663 return ctx->hash_key; in rte_thash_get_key() 769 const uint8_t *hash_key; in rte_thash_adjust_tuple() local [all …]
|
| /dpdk/drivers/net/ena/base/ |
| H A D | ena_com.c | 1089 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key() 1091 ENA_RSS_FILL_KEY(&hash_key->key, sizeof(hash_key->key)); in ena_com_hash_key_fill_default_key() 1107 rss->hash_key, in ena_com_hash_key_allocate() 1121 if (rss->hash_key) in ena_com_hash_key_destroy() 1124 rss->hash_key, in ena_com_hash_key_destroy() 1127 rss->hash_key = NULL; in ena_com_hash_key_destroy() 2385 hash_key = rss->hash_key; in ena_com_fill_hash_function() 2413 hash_key->key_parts = key_len / sizeof(hash_key->key[0]); in ena_com_fill_hash_function() 2465 ena_dev->rss.hash_key; in ena_com_get_hash_key() 2468 memcpy(key, hash_key->key, in ena_com_get_hash_key() [all …]
|
| H A D | ena_com.h | 268 struct ena_admin_feature_rss_flow_hash_control *hash_key; member
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_rxtx.c | 1931 uint8_t *hash_key; in igb_hw_rss_hash_set() local 1937 hash_key = rss_conf->rss_key; in igb_hw_rss_hash_set() 1938 if (hash_key != NULL) { in igb_hw_rss_hash_set() 1941 rss_key = hash_key[(i * 4)]; in igb_hw_rss_hash_set() 1942 rss_key |= hash_key[(i * 4) + 1] << 8; in igb_hw_rss_hash_set() 1943 rss_key |= hash_key[(i * 4) + 2] << 16; in igb_hw_rss_hash_set() 1944 rss_key |= hash_key[(i * 4) + 3] << 24; in igb_hw_rss_hash_set() 2007 uint8_t *hash_key; in eth_igb_rss_hash_conf_get() local 2014 hash_key = rss_conf->rss_key; in eth_igb_rss_hash_conf_get() 2015 if (hash_key != NULL) { in eth_igb_rss_hash_conf_get() [all …]
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_rxtx.c | 2536 uint8_t *hash_key; in ngbe_dev_rss_hash_update() local 2548 hash_key = rss_conf->rss_key; in ngbe_dev_rss_hash_update() 2549 if (hash_key) { in ngbe_dev_rss_hash_update() 2552 rss_key = LS32(hash_key[(i * 4) + 0], 0, 0xFF); in ngbe_dev_rss_hash_update() 2553 rss_key |= LS32(hash_key[(i * 4) + 1], 8, 0xFF); in ngbe_dev_rss_hash_update() 2596 uint8_t *hash_key; in ngbe_dev_rss_hash_conf_get() local 2602 hash_key = rss_conf->rss_key; in ngbe_dev_rss_hash_conf_get() 2603 if (hash_key) { in ngbe_dev_rss_hash_conf_get() 2607 hash_key[(i * 4) + 0] = RS32(rss_key, 0, 0xFF); in ngbe_dev_rss_hash_conf_get() 2608 hash_key[(i * 4) + 1] = RS32(rss_key, 8, 0xFF); in ngbe_dev_rss_hash_conf_get() [all …]
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_rss.c | 227 memcpy(req->hash_key, key_cur, key_size); in hns3_rss_set_algo_key() 655 uint8_t *hash_key = rss_cfg->key; in hns3_config_rss() local 674 ret = hns3_rss_set_algo_key(hw, hash_key); in hns3_config_rss()
|
| H A D | hns3_cmd.h | 612 uint8_t hash_key[HNS3_RSS_HASH_KEY_NUM]; member
|
| /dpdk/drivers/net/liquidio/ |
| H A D | lio_ethdev.c | 583 uint8_t *hash_key = NULL; in lio_dev_rss_hash_conf_get() local 593 hash_key = rss_conf->rss_key; in lio_dev_rss_hash_conf_get() 594 if (hash_key != NULL) in lio_dev_rss_hash_conf_get() 595 memcpy(hash_key, rss_state->hash_key, rss_state->hash_key_size); in lio_dev_rss_hash_conf_get() 654 memcpy(rss_state->hash_key, rss_conf->rss_key, in lio_dev_rss_hash_update() 656 memcpy(rss_param->key, rss_state->hash_key, in lio_dev_rss_hash_update()
|
| H A D | lio_struct.h | 382 uint8_t hash_key[LIO_RSS_MAX_KEY_SZ]; member
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_rxtx.c | 2874 uint8_t *hash_key; in txgbe_dev_rss_hash_update() local 2886 hash_key = rss_conf->rss_key; in txgbe_dev_rss_hash_update() 2887 if (hash_key) { in txgbe_dev_rss_hash_update() 2890 rss_key = LS32(hash_key[(i * 4) + 0], 0, 0xFF); in txgbe_dev_rss_hash_update() 2891 rss_key |= LS32(hash_key[(i * 4) + 1], 8, 0xFF); in txgbe_dev_rss_hash_update() 2965 uint8_t *hash_key; in txgbe_dev_rss_hash_conf_get() local 2971 hash_key = rss_conf->rss_key; in txgbe_dev_rss_hash_conf_get() 2972 if (hash_key) { in txgbe_dev_rss_hash_conf_get() 2976 hash_key[(i * 4) + 0] = RS32(rss_key, 0, 0xFF); in txgbe_dev_rss_hash_conf_get() 2977 hash_key[(i * 4) + 1] = RS32(rss_key, 8, 0xFF); in txgbe_dev_rss_hash_conf_get() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_rxtx.c | 3481 uint8_t *hash_key; in ixgbe_hw_rss_hash_set() local 3492 hash_key = rss_conf->rss_key; in ixgbe_hw_rss_hash_set() 3493 if (hash_key != NULL) { in ixgbe_hw_rss_hash_set() 3496 rss_key = hash_key[(i * 4)]; in ixgbe_hw_rss_hash_set() 3497 rss_key |= hash_key[(i * 4) + 1] << 8; in ixgbe_hw_rss_hash_set() 3498 rss_key |= hash_key[(i * 4) + 2] << 16; in ixgbe_hw_rss_hash_set() 3499 rss_key |= hash_key[(i * 4) + 3] << 24; in ixgbe_hw_rss_hash_set() 3574 uint8_t *hash_key; in ixgbe_dev_rss_hash_conf_get() local 3585 hash_key = rss_conf->rss_key; in ixgbe_dev_rss_hash_conf_get() 3586 if (hash_key != NULL) { in ixgbe_dev_rss_hash_conf_get() [all …]
|
| /dpdk/drivers/net/ena/ |
| H A D | ena_rss.c | 458 if (ena_dev->rss.hash_key == NULL) { in ena_get_rss_hash_key()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_txrx.c | 836 uint32_t *hash_key = (uint32_t *)rss_conf->rss_key; in igc_hw_rss_hash_set() local 840 if (hash_key != NULL) { in igc_hw_rss_hash_set() 845 IGC_WRITE_REG_LE_VALUE(hw, IGC_RSSRK(i), hash_key[i]); in igc_hw_rss_hash_set()
|
| H A D | igc_ethdev.c | 2351 uint32_t *hash_key = (uint32_t *)rss_conf->rss_key; in eth_igc_rss_hash_conf_get() local 2355 if (hash_key != NULL) { in eth_igc_rss_hash_conf_get() 2368 hash_key[i] = IGC_READ_REG_LE_VALUE(hw, IGC_RSSRK(i)); in eth_igc_rss_hash_conf_get()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.h | 1084 uint8_t *hash_key, uint8_t hash_key_len);
|
| H A D | config.c | 3811 port_rss_hash_key_update(portid_t port_id, char rss_type[], uint8_t *hash_key, in port_rss_hash_key_update() argument 3827 rss_conf.rss_key = hash_key; in port_rss_hash_key_update()
|
| H A D | cmdline.c | 2373 uint8_t hash_key[RSS_HASH_KEY_LENGTH]; in cmd_config_rss_hash_key_parsed() local 2387 dev_info.hash_key_size <= sizeof(hash_key)) in cmd_config_rss_hash_key_parsed() 2410 hash_key[i] = (uint8_t) ((xdgt0 * 16) + xdgt1); in cmd_config_rss_hash_key_parsed() 2412 port_rss_hash_key_update(res->port_id, res->rss_type, hash_key, in cmd_config_rss_hash_key_parsed()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 7590 uint32_t *hash_key = (uint32_t *)key; in i40e_set_rss_key() local 7598 hash_key[i]); in i40e_set_rss_key() 7603 hash_key[i]); in i40e_set_rss_key()
|
| /dpdk/app/test/ |
| H A D | test_cryptodev.c | 2435 uint8_t hash_key[key_len]; in create_wireless_algo_hash_session() local 2441 memcpy(hash_key, key, key_len); in create_wireless_algo_hash_session() 2452 ut_params->auth_xform.auth.key.data = hash_key; in create_wireless_algo_hash_session()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | hsi_struct_def_dpdk.h | 23739 uint32_t hash_key[10]; member 37120 uint32_t hash_key[10]; member
|