| /f-stack/dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_flow.c | 213 uint16_t tci; in ipn3ke_pattern_qinq() local 230 tci = rte_be_to_cpu_16(outer_vlan->tci); in ipn3ke_pattern_qinq() 231 parser->key[0] = (tci & 0xff0) >> 4; in ipn3ke_pattern_qinq() 232 parser->key[1] |= (tci & 0x00f) << 4; in ipn3ke_pattern_qinq() 236 tci = rte_be_to_cpu_16(inner_vlan->tci); in ipn3ke_pattern_qinq() 237 parser->key[1] |= (tci & 0xf00) >> 8; in ipn3ke_pattern_qinq() 238 parser->key[2] = (tci & 0x0ff); in ipn3ke_pattern_qinq()
|
| /f-stack/dpdk/drivers/net/tap/ |
| H A D | tap_flow.c | 275 .tci = 0xffef, 277 .tci = 0xefff, 600 #define VLAN_PRIO(tci) ((tci) >> 13) in tap_flow_create_vlan() argument 601 #define VLAN_ID(tci) ((tci) & 0xfff) in tap_flow_create_vlan() argument 604 if (spec->tci) { in tap_flow_create_vlan() 605 uint16_t tci = ntohs(spec->tci) & mask->tci; in tap_flow_create_vlan() local 606 uint16_t prio = VLAN_PRIO(tci); in tap_flow_create_vlan() 607 uint8_t vid = VLAN_ID(tci); in tap_flow_create_vlan()
|
| H A D | tap_bpf_program.c | 42 __be16 tci; member
|
| /f-stack/dpdk/drivers/net/vmxnet3/base/ |
| H A D | vmxnet3_defs.h | 152 uint32 tci:16; /* Tag to Insert */ member 166 uint32 tci:16; /* Tag to Insert */ member 280 uint32 tci:16; /* Tag stripped */ member 288 uint32 tci:16; /* Tag stripped */ member
|
| /f-stack/dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_tx.c | 522 __in uint16_t tci, in ef10_tx_qdesc_vlantci_create() argument 528 uint16_t, tci); in ef10_tx_qdesc_vlantci_create() 534 ESF_DZ_TX_VLAN_OP, tci ? 1 : 0, in ef10_tx_qdesc_vlantci_create() 535 ESF_DZ_TX_VLAN_TAG1, tci); in ef10_tx_qdesc_vlantci_create()
|
| H A D | efx_tx.c | 702 __in uint16_t tci, in efx_tx_qdesc_vlantci_create() argument 711 etxop->etxo_qdesc_vlantci_create(etp, tci, edp); in efx_tx_qdesc_vlantci_create()
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_flow.c | 272 if (spec->tci || (umask && umask->tci)) in ch_rte_parsetype_vlan() 273 CXGBE_FILL_FS(be16_to_cpu(spec->tci), in ch_rte_parsetype_vlan() 274 be16_to_cpu(mask->tci), ovlan); in ch_rte_parsetype_vlan() 281 if (spec->tci || (umask && umask->tci)) in ch_rte_parsetype_vlan() 282 CXGBE_FILL_FS(be16_to_cpu(spec->tci), in ch_rte_parsetype_vlan() 283 be16_to_cpu(mask->tci), ivlan); in ch_rte_parsetype_vlan() 989 .tci = 0xffff,
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_flow.c | 300 if (!mask || !mask->tci) { in mlx4_flow_merge_vlan() 305 if (mask->tci != RTE_BE16(0x0fff)) { in mlx4_flow_merge_vlan() 313 eth->val.vlan_tag = spec->tci; in mlx4_flow_merge_vlan() 314 eth->mask.vlan_tag = mask->tci; in mlx4_flow_merge_vlan() 596 .tci = RTE_BE16(0x0fff), 1312 .tci = RTE_BE16(0x0fff), in mlx4_flow_internal() 1362 &vlan_spec.tci : in mlx4_flow_internal()
|
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | items_gen.c | 49 vlan_spec.tci = RTE_BE16(vlan_value); in add_vlan() 50 vlan_mask.tci = RTE_BE16(0xffff); in add_vlan()
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_sp_commands.c | 343 p_ramrod->outer_tag_config.outer_tag.tci = in ecore_sp_pf_start() 366 p_ramrod->outer_tag_config.outer_tag.tci |= in ecore_sp_pf_start() 410 p_ramrod->outer_tag_config.outer_tag.tci); in ecore_sp_pf_start()
|
| /f-stack/dpdk/drivers/net/atlantic/hw_atl/ |
| H A D | hw_atl_utils.h | 368 uint32_t tci; member 386 uint32_t tci; /* TCI value, used if packet is not explicitly tagged */ member
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 2562 if (vlan_mask->tci != in i40e_flow_parse_fdir_pattern() 2564 vlan_mask->tci != in i40e_flow_parse_fdir_pattern() 2566 vlan_mask->tci != in i40e_flow_parse_fdir_pattern() 2568 vlan_mask->tci != in i40e_flow_parse_fdir_pattern() 2577 vlan_spec->tci; in i40e_flow_parse_fdir_pattern() 3732 if (vlan_mask->tci == in i40e_flow_parse_vxlan_pattern() 3735 rte_be_to_cpu_16(vlan_spec->tci) & in i40e_flow_parse_vxlan_pattern() 3963 if (vlan_mask->tci == in i40e_flow_parse_nvgre_pattern() 3966 rte_be_to_cpu_16(vlan_spec->tci) & in i40e_flow_parse_nvgre_pattern() 4638 if (vlan_mask->tci == in i40e_flow_parse_rss_pattern() [all …]
|
| /f-stack/dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 1835 udp-dst (udp-dst) ip-src (ip-src) ip-dst (ip-dst) vlan-tci (vlan-tci) \ 1855 ip-dst (ip-dst) vlan-tci (vlan-tci) eth-src (eth-src) eth-dst (eth-dst) 1868 set l2_encap-with-vlan ip-version (ipv4|ipv6) vlan-tci (vlan-tci) \ 1897 ip-src (ip-src) ip-dst (ip-dst) vlan-tci (vlan-tci) \ 1928 vlan-tci (vlan-tci) eth-src (eth-src) eth-dst (eth-dst) 3601 - ``tci {unsigned}``: tag control information. 4460 vlan tci is 654 / end actions pf / queue index 0 / end 4605 testpmd> set l2_encap-with-vlan ip-version ipv4 vlan-tci 34 4645 ip-src 127.0.0.1 ip-dst 128.0.0.1 vlan-tci 34 4661 ip-src ::1 ip-dst ::2222 vlan-tci 34 [all …]
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_flow.c | 1706 uint16_t tci = rte_ntohs(spec.vlan.tci); in flow_rule_action_get() local 1708 tci >> 13; in flow_rule_action_get() 1710 (tci >> 12) & 0x1; in flow_rule_action_get() 1712 tci & 0xfff; in flow_rule_action_get()
|
| /f-stack/dpdk/lib/librte_ethdev/ |
| H A D | rte_flow.h | 769 rte_be16_t tci; /**< Tag control information. */ member 779 .tci = RTE_BE16(0x0fff),
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_flow.c | 388 .tci = rte_cpu_to_be_16(ETH_VLAN_ID_MAX), in sfc_flow_parse_vlan() 408 if (mask->tci == supp_mask.tci) { in sfc_flow_parse_vlan() 410 vid = rte_bswap16(spec->tci & mask->tci); in sfc_flow_parse_vlan()
|
| H A D | sfc_mae.c | 932 RTE_SIZEOF_FIELD(struct rte_flow_item_vlan, tci), 933 offsetof(struct rte_flow_item_vlan, tci), 948 RTE_SIZEOF_FIELD(struct rte_flow_item_vlan, tci), 949 offsetof(struct rte_flow_item_vlan, tci),
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 503 if (vlan_mask->tci) { in hns3_parse_vlan() 508 rte_be_to_cpu_16(vlan_mask->tci); in hns3_parse_vlan() 513 rte_be_to_cpu_16(vlan_mask->tci); in hns3_parse_vlan() 521 rte_be_to_cpu_16(vlan_spec->tci); in hns3_parse_vlan() 524 rte_be_to_cpu_16(vlan_spec->tci); in hns3_parse_vlan()
|
| /f-stack/dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_flow.c | 102 .tci = RTE_BE16(0xffff), 1262 if (!mask->tci) in dpaa2_configure_flow_vlan() 1310 &spec->tci, in dpaa2_configure_flow_vlan() 1311 &mask->tci, in dpaa2_configure_flow_vlan() 1323 &spec->tci, in dpaa2_configure_flow_vlan() 1324 &mask->tci, in dpaa2_configure_flow_vlan()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_verbs.c | 571 eth.val.vlan_tag = spec->tci; in flow_verbs_translate_item_vlan() 572 eth.mask.vlan_tag = mask->tci; in flow_verbs_translate_item_vlan() 584 rte_be_to_cpu_16(spec->tci) & 0x0fff; in flow_verbs_translate_item_vlan()
|
| H A D | mlx5_flow_dv.c | 1643 .tci = RTE_BE16(UINT16_MAX), in flow_dv_validate_item_vlan() 1672 if (!tunnel && mask->tci != RTE_BE16(0x0fff)) { in flow_dv_validate_item_vlan() 2084 .tci = RTE_BE16(MLX5DV_FLOW_VLAN_PCP_MASK | in flow_dev_get_vlan_info_from_items() 2112 rte_be_to_cpu_16(vlan_v->tci & in flow_dev_get_vlan_info_from_items() 2119 rte_be_to_cpu_16(vlan_v->tci & in flow_dev_get_vlan_info_from_items() 2174 (vlan_m->tci & MLX5DV_FLOW_VLAN_PCP_MASK_BE) && in flow_dv_validate_action_push_vlan() 2175 (vlan_m->tci & MLX5DV_FLOW_VLAN_PCP_MASK_BE) != in flow_dv_validate_action_push_vlan() 2187 (vlan_m->tci & MLX5DV_FLOW_VLAN_VID_MASK_BE) && in flow_dv_validate_action_push_vlan() 6462 rte_be_to_cpu_16(vlan_v->tci) & 0x0fff; in flow_dv_translate_item_vlan() 6476 tci_m = rte_be_to_cpu_16(vlan_m->tci); in flow_dv_translate_item_vlan() [all …]
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 1067 if (vlan_mask->tci) { in ice_switch_inset_get() 1069 vlan_spec->tci; in ice_switch_inset_get() 1071 vlan_mask->tci; in ice_switch_inset_get()
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_flow.c | 293 if (vlan_mask->tci && in bnxt_validate_and_parse_flow_type() 294 vlan_mask->tci == RTE_BE16(0x0fff)) { in bnxt_validate_and_parse_flow_type() 297 rte_be_to_cpu_16(vlan_spec->tci & in bnxt_validate_and_parse_flow_type()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | cmdline_flow.c | 2331 tci, "\xe0\x00")), 2338 tci, "\x10\x00")), 2345 tci, "\x0f\xff")), 5069 .tci = vxlan_encap_conf.vlan_tci, in parse_vc_action_vxlan_encap() 5196 .tci = nvgre_encap_conf.vlan_tci, in parse_vc_action_nvgre_encap() 5242 .tci = mplsoudp_encap_conf.vlan_tci, in parse_vc_action_l2_encap() 5306 .tci = mplsoudp_encap_conf.vlan_tci, in parse_vc_action_l2_decap() 5360 .tci = mplsogre_encap_conf.vlan_tci, in parse_vc_action_mplsogre_encap() 5465 struct rte_flow_item_vlan vlan = {.tci = 0}; in parse_vc_action_mplsogre_decap() 5553 .tci = mplsoudp_encap_conf.vlan_tci, in parse_vc_action_mplsoudp_encap() [all …]
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | netvsc.rst | 29 * VLAN tags are always stripped and presented in mbuf tci field.
|