| /dpdk/examples/pipeline/examples/ |
| H A D | fib_nexthop_group_table.txt | 5 group 0 member 0 weight 1 8 group 1 member 1 weight 1 11 group 2 member 2 weight 1 14 group 3 member 3 weight 1 16 // Nexthop group #4 (ECMP) 17 group 4 member 4 weight 1 18 group 4 member 5 weight 1 21 group 5 member 5 weight 1 22 group 5 member 6 weight 1 25 group 6 member 6 weight 1 [all …]
|
| H A D | fib.cli | 38 pipeline PIPELINE0 selector nexthop_group_table group add 39 pipeline PIPELINE0 selector nexthop_group_table group add 40 pipeline PIPELINE0 selector nexthop_group_table group add 41 pipeline PIPELINE0 selector nexthop_group_table group add 42 pipeline PIPELINE0 selector nexthop_group_table group add 43 pipeline PIPELINE0 selector nexthop_group_table group add 44 pipeline PIPELINE0 selector nexthop_group_table group add 45 pipeline PIPELINE0 selector nexthop_group_table group add 46 pipeline PIPELINE0 selector nexthop_group_table group add 47 pipeline PIPELINE0 selector nexthop_group_table group add [all …]
|
| H A D | selector.txt | 1 group 0 member 0 weight 1 2 group 0 member 1 weight 1 3 group 0 member 2 weight 2 4 group 0 member 3 weight 4
|
| H A D | selector.spec | 5 ; of several groups. The select operation returns a member ID by first selecting a group based on an 6 ; input group ID and then selecting a member within that group by hashing one or several input 12 ; (the group table) and a next hop table (the member table). One of the routing table actions sets 13 ; up the group ID meta-data field used as the index into the group table, which produces the member
|
| H A D | selector.cli | 25 pipeline PIPELINE0 selector s group add 26 pipeline PIPELINE0 selector s group member add ./examples/pipeline/examples/selector.txt
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_rss.c | 54 nix_cn9k_rss_reta_set(struct nix *nix, uint8_t group, in nix_cn9k_rss_reta_set() argument 77 req->qidx = (group * nix->reta_sz) + idx; in nix_cn9k_rss_reta_set() 98 req->qidx = (group * nix->reta_sz) + idx; in nix_cn9k_rss_reta_set() 111 nix_rss_reta_set(struct nix *nix, uint8_t group, in nix_rss_reta_set() argument 134 req->qidx = (group * nix->reta_sz) + idx; in nix_rss_reta_set() 155 req->qidx = (group * nix->reta_sz) + idx; in nix_rss_reta_set() 174 if (group >= ROC_NIX_RSS_GRPS) in roc_nix_rss_reta_set() 178 rc = nix_cn9k_rss_reta_set(nix, group, reta, in roc_nix_rss_reta_set() 195 if (group >= ROC_NIX_RSS_GRPS) in roc_nix_rss_reta_get() 212 if (group >= ROC_NIX_RSS_GRPS) in roc_nix_rss_flowkey_set() [all …]
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_flow.c | 935 uint32_t group; in dpaa2_configure_flow_eth() local 943 group = attr->group; in dpaa2_configure_flow_eth() 1183 uint32_t group; in dpaa2_configure_flow_vlan() local 1189 group = attr->group; in dpaa2_configure_flow_vlan() 1431 group = attr->group; in dpaa2_configure_flow_generic_ip() 1758 group = attr->group; in dpaa2_configure_flow_icmp() 2000 group = attr->group; in dpaa2_configure_flow_udp() 2239 group = attr->group; in dpaa2_configure_flow_tcp() 2479 group = attr->group; in dpaa2_configure_flow_sctp() 2720 group = attr->group; in dpaa2_configure_flow_gre() [all …]
|
| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_hw_types.h | 200 static inline bool dlb2_sn_group_full(struct dlb2_sn_group *group) in dlb2_sn_group_full() argument 209 return group->slot_use_bitmap == mask[group->mode]; in dlb2_sn_group_full() 212 static inline int dlb2_sn_group_alloc_slot(struct dlb2_sn_group *group) in dlb2_sn_group_alloc_slot() argument 217 for (i = 0; i < bound[group->mode]; i++) { in dlb2_sn_group_alloc_slot() 218 if (!(group->slot_use_bitmap & (1 << i))) { in dlb2_sn_group_alloc_slot() 219 group->slot_use_bitmap |= 1 << i; in dlb2_sn_group_alloc_slot() 228 dlb2_sn_group_free_slot(struct dlb2_sn_group *group, int slot) in dlb2_sn_group_free_slot() argument 230 group->slot_use_bitmap &= ~(1 << slot); in dlb2_sn_group_free_slot() 233 static inline int dlb2_sn_group_used_slots(struct dlb2_sn_group *group) in dlb2_sn_group_used_slots() argument 238 cnt += !!(group->slot_use_bitmap & (1 << i)); in dlb2_sn_group_used_slots()
|
| /dpdk/app/test-flow-perf/ |
| H A D | flow_gen.c | 21 uint64_t *flow_attrs, uint16_t group, uint8_t max_priority) in fill_attributes() argument 34 attr->group = group; in fill_attributes() 40 uint16_t group, in generate_flow() argument 65 fill_attributes(&attr, flow_attrs, group, max_priority); in generate_flow()
|
| H A D | flow_gen.h | 28 uint16_t group,
|
| /dpdk/lib/table/ |
| H A D | rte_swx_table_selector.c | 260 struct rte_swx_table_selector_group *group); 320 if (!group) in group_check() 323 TAILQ_FOREACH(elem, &group->members, node) { in group_check() 337 TAILQ_FOREACH(e, &group->members, node) in group_check() 358 if (!group) in members_read() 361 TAILQ_FOREACH(elem, &group->members, node) { in members_read() 487 struct rte_swx_table_selector_group *group) in group_set() argument 498 status = group_check(t, group); in group_set() 503 n_members = members_read(members, group); in group_set() 534 struct rte_swx_table_selector_group *group) in rte_swx_table_selector_group_set() argument [all …]
|
| /dpdk/drivers/bus/fslmc/ |
| H A D | fslmc_vfio.c | 168 vfio_container.group = &vfio_group; in vfio_connect_container() 267 struct fslmc_vfio_group *group; in fslmc_map_dma() local 289 group = &vfio_group; in fslmc_map_dma() 291 if (!group->container) { in fslmc_map_dma() 311 struct fslmc_vfio_group *group; in fslmc_unmap_dma() local 327 group = &vfio_group; in fslmc_unmap_dma() 329 if (!group->container) { in fslmc_unmap_dma() 371 struct fslmc_vfio_group *group; in rte_fslmc_vfio_mem_dmamap() local 383 group = &vfio_group; in rte_fslmc_vfio_mem_dmamap() 384 if (!group->container) { in rte_fslmc_vfio_mem_dmamap() [all …]
|
| /dpdk/ |
| H A D | .travis.yml | 129 group: edge 135 group: edge 141 group: edge 152 group: edge 164 group: edge 170 group: edge
|
| /dpdk/lib/efd/ |
| H A D | rte_efd.c | 1272 return efd_lookup_internal_avx2(group->hash_idx, in efd_lookup_internal() 1273 group->lookup_table, in efd_lookup_internal() 1280 return efd_lookup_internal_neon(group->hash_idx, in efd_lookup_internal() 1281 group->lookup_table, in efd_lookup_internal() 1290 group->lookup_table, in efd_lookup_internal() 1304 const struct efd_online_group_entry *group; in rte_efd_lookup() local 1311 group = &chunks[chunk_id].groups[group_id]; in rte_efd_lookup() 1313 return efd_lookup_internal(group, in rte_efd_lookup() 1328 struct efd_online_group_entry *group; in rte_efd_lookup_bulk() local 1344 rte_prefetch0(group); in rte_efd_lookup_bulk() [all …]
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | efd_lib.rst | 183 stores for each group what is the perfect hash index that satisfies the 189 With an input flow key, the group id is computed (for example, using 240 last available space in the key's group was just used. It will return 294 insert, lookup and group rebalancing in the EFD library. 306 offline version the exact keys for each group is stored. When a new 309 in this group. 313 but rather only the hash index for each group. 323 used to get the group id. As shown in the figure, the groups can be 324 unbalanced. (We highlight group rebalancing further below). 394 groups, i.e., some group will have more keys than other groups. [all …]
|
| /dpdk/doc/guides/dmadevs/ |
| H A D | idxd.rst | 55 To assign an engine to a group:: 57 $ accel-config config-engine dsa0/engine0.0 --group-id=0 71 $ accel-config config-wq dsa0/wq0.0 --group-id=0 \ 89 accel-config config-engine dsa0/engine0.0 --group-id=0 90 accel-config config-engine dsa0/engine0.1 --group-id=1 91 accel-config config-engine dsa0/engine0.2 --group-id=2 92 accel-config config-engine dsa0/engine0.3 --group-id=3 94 # configure 4 queues, putting each in a different group, so each 96 accel-config config-wq dsa0/wq0.0 --group-id=0 --type=user --wq-size=32 \ 98 accel-config config-wq dsa0/wq0.1 --group-id=1 --type=user --wq-size=32 \ [all …]
|
| /dpdk/lib/pipeline/ |
| H A D | rte_swx_ctl.c | 759 if (!group) in selector_group_members_free() 765 m = TAILQ_FIRST(&group->members); in selector_group_members_free() 773 free(group); in selector_group_members_free() 782 if (!group) in selector_pending_group_members_free() 788 m = TAILQ_FIRST(&group->members); in selector_pending_group_members_free() 796 free(group); in selector_pending_group_members_free() 2051 group = s->pending_groups[group_id]; in rte_swx_ctl_pipeline_selector_group_delete() 2057 m = TAILQ_FIRST(&group->members); in rte_swx_ctl_pipeline_selector_group_delete() 2108 group = s->pending_groups[group_id]; in rte_swx_ctl_pipeline_selector_group_member_add() 2188 if (!group) in selector_rollfwd() [all …]
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 116 uint32_t group; member 1084 if (fet->group == group && fet->ingress == ingress) in enic_fet_get() 1096 fet->group = group; in enic_fet_get() 2404 if (j->group == group) in find_jump_flow() 2439 j->group = group; in save_jump_flow() 2748 uint32_t group; in convert_jump_flows() local 2756 group = fet->group; in convert_jump_flows() 3443 attrs.group = 0; in enic_fm_add_rep2vf_flow() 3475 attrs.group = 0; in enic_fm_add_rep2vf_flow() 3536 attrs.group = 0; in enic_fm_add_vf2rep_flow() [all …]
|
| /dpdk/drivers/event/dlb2/ |
| H A D | dlb2_user.h | 247 __u32 group; member 267 __u32 group; member 339 __u32 group; member
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_hw.c | 162 jattr.group = dest_group; in flow_hw_jump_action_register() 572 if (!attr->group) { in flow_hw_actions_translate() 591 priv->hw_drop[!!attr->group][type]; in flow_hw_actions_translate() 604 priv->hw_tag[!!attr->group]; in flow_hw_actions_translate() 611 actions->conf)->group; in flow_hw_actions_translate() 924 attr.group = table->grp->group_id; in flow_hw_actions_construct() 965 action->conf)->group; in flow_hw_actions_construct() 1455 if (!attr->flow_attr.group) in flow_hw_table_create() 1856 dr_tbl_attr.level = attr->group; in flow_hw_grp_create_cb() 1867 if (attr->group) { in flow_hw_grp_create_cb() [all …]
|
| H A D | mlx5_flow.c | 2060 if (attr->group) in mlx5_flow_validate_action_default_miss() 7101 .group = 0, in mlx5_flow_create_esw_table_zero_flow() 7111 .group = 1, in mlx5_flow_create_esw_table_zero_flow() 7145 .group = 0, in mlx5_flow_create_devx_sq_miss_flow() 7172 .group = 1, in mlx5_flow_create_devx_sq_miss_flow() 7196 attr.group = 1; in mlx5_flow_create_devx_sq_miss_flow() 9093 *table = group; in flow_group_to_table() 10091 miss_attr.group = jump_data->group; in flow_tunnel_add_default_miss() 10175 return tbl.tunnel_id != tte->tunnel_id || tbl.group != tte->group; in mlx5_flow_tunnel_grp2tbl_match_cb() 10206 tte->group = tbl.group; in mlx5_flow_tunnel_grp2tbl_create_cb() [all …]
|
| /dpdk/drivers/net/tap/ |
| H A D | tap_flow.c | 387 .group = MAX_GROUP, 404 .group = MAX_GROUP, 424 .group = MAX_GROUP, 444 .group = MAX_GROUP, 458 .group = MAX_GROUP, 478 .group = 0, 492 .group = MAX_GROUP, 1050 if (attr->group > MAX_GROUP) { in priv_flow_process() 1062 uint16_t group = attr->group << GROUP_SHIFT; in priv_flow_process() local 1382 if ((attr->group == MAX_GROUP) && in tap_flow_create() [all …]
|
| /dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_hw_access.c | 283 cpt_vq_init(struct cpt_vf *cptvf, uint8_t group) in cpt_vq_init() argument 300 cptvf->vfgrp = group; in cpt_vq_init() 301 err = otx_cpt_send_vf_grp_msg(cptvf, group); in cpt_vq_init() 507 otx_cpt_get_resource(const struct rte_cryptodev *dev, uint8_t group, in otx_cpt_get_resource() argument 624 if (cpt_vq_init(cptvf, group)) { in otx_cpt_get_resource()
|
| H A D | otx_cryptodev_mbox.c | 161 otx_cpt_send_vf_grp_msg(struct cpt_vf *cptvf, uint32_t group) in otx_cpt_send_vf_grp_msg() argument 168 mbx.data = group; in otx_cpt_send_vf_grp_msg()
|
| /dpdk/devtools/ |
| H A D | update_version_map_abi.py | 94 cur_section = match.group("version") 106 stable_lines.add(match.group("line"))
|