| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_rxq.c | 93 struct mlx4_rss *rss; in mlx4_rss_get() local 96 LIST_FOREACH(rss, &priv->rss, next) in mlx4_rss_get() 97 if (fields == rss->fields && in mlx4_rss_get() 98 queues == rss->queues && in mlx4_rss_get() 99 !memcmp(key, rss->key, MLX4_RSS_HASH_KEY_SIZE) && in mlx4_rss_get() 100 !memcmp(queue_id, rss->queue_id, queue_id_size)) { in mlx4_rss_get() 101 ++rss->refcnt; in mlx4_rss_get() 102 return rss; in mlx4_rss_get() 104 rss = rte_malloc(__func__, offsetof(struct mlx4_rss, queue_id) + in mlx4_rss_get() 106 if (!rss) in mlx4_rss_get() [all …]
|
| H A D | mlx4_rxtx.h | 133 void mlx4_rss_put(struct mlx4_rss *rss); 134 int mlx4_rss_attach(struct mlx4_rss *rss); 135 void mlx4_rss_detach(struct mlx4_rss *rss);
|
| H A D | mlx4_flow.h | 45 struct mlx4_rss *rss; /**< Rx target. */ member
|
| /dpdk/drivers/vdpa/mlx5/ |
| H A D | mlx5_vdpa_steer.c | 20 for (i = 0; i < RTE_DIM(priv->steer.rss); ++i) { in mlx5_vdpa_rss_flows_destroy() 21 if (priv->steer.rss[i].flow) { in mlx5_vdpa_rss_flows_destroy() 23 (priv->steer.rss[i].flow)); in mlx5_vdpa_rss_flows_destroy() 24 priv->steer.rss[i].flow = NULL; in mlx5_vdpa_rss_flows_destroy() 26 if (priv->steer.rss[i].tir_action) { in mlx5_vdpa_rss_flows_destroy() 28 (priv->steer.rss[i].tir_action)); in mlx5_vdpa_rss_flows_destroy() 29 priv->steer.rss[i].tir_action = NULL; in mlx5_vdpa_rss_flows_destroy() 31 if (priv->steer.rss[i].tir) { in mlx5_vdpa_rss_flows_destroy() 33 (priv->steer.rss[i].tir)); in mlx5_vdpa_rss_flows_destroy() 34 priv->steer.rss[i].tir = NULL; in mlx5_vdpa_rss_flows_destroy() [all …]
|
| /dpdk/examples/ip_pipeline/ |
| H A D | link.c | 69 struct link_params_rss *rss) in rss_setup() argument 84 uint32_t rss_qs_pos = i % rss->n_queues; in rss_setup() 87 (uint16_t) rss->queue_id[rss_qs_pos]; in rss_setup() 104 struct link_params_rss *rss; in link_create() local 138 rss = params->rx.rss; in link_create() 139 if (rss) { in link_create() 144 if ((rss->n_queues == 0) || in link_create() 145 (rss->n_queues >= LINK_RXQ_RSS_MAX)) in link_create() 148 for (i = 0; i < rss->n_queues; i++) in link_create() 149 if (rss->queue_id[i] >= port_info.max_rx_queues) in link_create() [all …]
|
| H A D | link.h | 49 struct link_params_rss *rss; member
|
| /dpdk/examples/pipeline/ |
| H A D | obj.c | 41 struct ethdev_params_rss *rss) in rss_setup() argument 56 uint32_t rss_qs_pos = i % rss->n_queues; in rss_setup() 59 (uint16_t) rss->queue_id[rss_qs_pos]; in rss_setup() 75 struct ethdev_params_rss *rss; in ethdev_config() local 103 rss = params->rx.rss; in ethdev_config() 104 if (rss) { in ethdev_config() 108 if (!rss->n_queues || rss->n_queues >= ETHDEV_RXQ_RSS_MAX) in ethdev_config() 111 for (i = 0; i < rss->n_queues; i++) in ethdev_config() 112 if (rss->queue_id[i] >= port_info.max_rx_queues) in ethdev_config() 118 if (rss) { in ethdev_config() [all …]
|
| H A D | obj.h | 27 struct ethdev_params_rss *rss; member
|
| /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() 1108 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key() 1119 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_allocate() local 1125 sizeof(*rss->hash_key), in ena_com_hash_key_allocate() 1126 rss->hash_key, in ena_com_hash_key_allocate() 1127 rss->hash_key_dma_addr, in ena_com_hash_key_allocate() 1128 rss->hash_key_mem_handle); in ena_com_hash_key_allocate() 1130 if (unlikely(!rss->hash_key)) in ena_com_hash_key_allocate() 1138 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_destroy() local 1140 if (rss->hash_key) in ena_com_hash_key_destroy() [all …]
|
| /dpdk/examples/pipeline/examples/ |
| H A D | rss.cli | 5 # ./build/examples/dpdk-pipeline -l0-1 -- -s ./examples/pipeline/examples/rss.cli 13 pipeline codegen ./examples/pipeline/examples/rss.spec /tmp/rss.c 14 pipeline libbuild /tmp/rss.c /tmp/rss.so 30 pipeline PIPELINE0 build lib /tmp/rss.so io ./examples/pipeline/examples/ethdev.io numa 0 37 pipeline PIPELINE0 rss rss0 key 0 0 0 0
|
| H A D | rss.spec | 46 rss rss0 70 rss rss0 m.hash h.ipv4.src_addr h.ipv4.dst_addr
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_rx.c | 225 m->hash.rss = efx_pseudo_hdr_hash_get(rxq->common, in sfc_efx_rx_set_rss_hash() 741 struct sfc_rss *rss = &sfc_sa2shared(sa)->rss; in sfc_rx_default_rxq_set_filter() local 742 boolean_t need_rss = (rss->channels > 0) ? B_TRUE : B_FALSE; in sfc_rx_default_rxq_set_filter() 1108 struct sfc_rss *rss = &sfc_sa2shared(sa)->rss; in sfc_rx_qinit() local 1234 if (rss->hash_support == EFX_RX_HASH_AVAILABLE && rss->channels > 0 && in sfc_rx_qinit() 1398 struct sfc_rss *rss = &sfc_sa2shared(sa)->rss; in sfc_rx_hash_init() local 1443 rss->hash_alg = alg; in sfc_rx_hash_init() 1444 rss->hf_map_nb_entries = (unsigned int)(entry - hf_map); in sfc_rx_hash_init() 1445 rss->hf_map = hf_map; in sfc_rx_hash_init() 1446 rss->hash_types = efx_hash_types; in sfc_rx_hash_init() [all …]
|
| H A D | sfc.c | 822 struct sfc_rss *rss = &sfc_sa2shared(sa)->rss; in sfc_rss_attach() local 837 rc = efx_rx_scale_default_support_get(sa->nic, &rss->context_type); in sfc_rss_attach() 841 rc = efx_rx_hash_default_support_get(sa->nic, &rss->hash_support); in sfc_rss_attach() 853 rte_memcpy(rss->key, default_rss_key, sizeof(rss->key)); in sfc_rss_attach() 854 memset(&rss->dummy_ctx, 0, sizeof(rss->dummy_ctx)); in sfc_rss_attach() 855 rss->dummy_ctx.conf.qid_span = 1; in sfc_rss_attach() 856 rss->dummy_ctx.dummy = true; in sfc_rss_attach()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cn10k_flow.c | 90 const struct rte_flow_action_rss *rss; in cn10k_rss_action_validate() local 95 rss = (const struct rte_flow_action_rss *)act->conf; in cn10k_rss_action_validate() 107 if (!rss || !rss->queue_num) { in cn10k_rss_action_validate() 112 if (rss->func != RTE_ETH_HASH_FUNCTION_DEFAULT) { in cn10k_rss_action_validate() 117 if (rss->key_len && rss->key_len > ROC_NIX_RSS_KEY_LEN) { in cn10k_rss_action_validate()
|
| /dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_hw.c | 784 struct nicvf_rss_reta_info *rss = &nic->rss_info; in nicvf_rss_reta_update() local 790 assert(rss->rss_size > 0); in nicvf_rss_reta_update() 791 rss->hash_bits = (uint8_t)nicvf_log2_u32(rss->rss_size); in nicvf_rss_reta_update() 792 for (idx = 0; idx < rss->rss_size && idx < max_count; idx++) in nicvf_rss_reta_update() 793 rss->ind_tbl[idx] = tbl[idx]; in nicvf_rss_reta_update() 805 struct nicvf_rss_reta_info *rss = &nic->rss_info; in nicvf_rss_reta_query() local 811 assert(rss->rss_size > 0); in nicvf_rss_reta_query() 812 rss->hash_bits = (uint8_t)nicvf_log2_u32(rss->rss_size); in nicvf_rss_reta_query() 814 for (idx = 0; idx < rss->rss_size && idx < max_count; idx++) in nicvf_rss_reta_query() 815 tbl[idx] = rss->ind_tbl[idx]; in nicvf_rss_reta_query()
|
| /dpdk/examples/ip_pipeline/examples/ |
| H A D | rss.cli | 52 link LINK0 dev 0000:02:00.0 rxq 4 128 MEMPOOL0 txq 1 512 promiscuous on rss 0 1 2 3 53 link LINK1 dev 0000:02:00.1 rxq 4 128 MEMPOOL0 txq 1 512 promiscuous on rss 0 1 2 3 54 link LINK2 dev 0000:06:00.0 rxq 4 128 MEMPOOL0 txq 1 512 promiscuous on rss 0 1 2 3 55 link LINK3 dev 0000:06:00.1 rxq 4 128 MEMPOOL0 txq 1 512 promiscuous on rss 0 1 2 3
|
| /dpdk/lib/ethdev/ |
| H A D | rte_flow.c | 727 const struct rte_flow_action_rss *rss; in rte_flow_conv_action_conf() 732 struct rte_flow_action_rss *rss; in rte_flow_conv_action_conf() 740 src.rss = action->conf; in rte_flow_conv_action_conf() 741 dst.rss = buf; in rte_flow_conv_action_conf() 742 rte_memcpy(dst.rss, in rte_flow_conv_action_conf() 744 .func = src.rss->func, in rte_flow_conv_action_conf() 745 .level = src.rss->level, in rte_flow_conv_action_conf() 746 .types = src.rss->types, in rte_flow_conv_action_conf() 747 .key_len = src.rss->key_len, in rte_flow_conv_action_conf() 748 .queue_num = src.rss in rte_flow_conv_action_conf() 705 const struct rte_flow_action_rss *rss; rte_flow_conv_action_conf() member 710 struct rte_flow_action_rss *rss; rte_flow_conv_action_conf() member [all...] |
| /dpdk/usertools/ |
| H A D | meson.build | 13 'dpdk-rss-flows.py',
|
| /dpdk/app/graph/ |
| H A D | ethdev_priv.h | 30 struct ethdev_rss_config *rss; member
|
| /dpdk/doc/guides/tools/ |
| H A D | proc_info.rst | 23 --show-port-private | --version | --firmware-version | --show-rss-reta | 86 **--show-rss-reta** 87 The show-rss-reta parameter displays ports rss redirection table.
|
| /dpdk/doc/guides/nics/features/ |
| H A D | tap.ini | 41 rss = Y key
|
| H A D | e1000.ini | 45 rss = Y key
|
| H A D | cpfl.ini | 44 rss = Y key
|
| /dpdk/drivers/net/tap/ |
| H A D | rte_eth_tap.h | 85 struct tap_rss *rss; /* BPF program */ member
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_nta_rss.c | 127 uint64_t rss = rss_types & in mlx5_nta_rss_expand_l3_l4() local 147 rss & ~(RTE_ETH_RSS_UDP | RTE_ETH_RSS_TCP)); in mlx5_nta_rss_expand_l3_l4() 154 rss & ~(RTE_ETH_RSS_ESP | RTE_ETH_RSS_TCP)); in mlx5_nta_rss_expand_l3_l4() 161 rss & ~(RTE_ETH_RSS_ESP | RTE_ETH_RSS_UDP)); in mlx5_nta_rss_expand_l3_l4()
|