Home
last modified time | relevance | path

Searched refs:tci (Results 1 – 25 of 43) sorted by relevance

12

/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c213 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()
/dpdk/drivers/net/tap/
H A Dtap_flow.c275 .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 Dtap_bpf_program.c42 __be16 tci; member
/dpdk/drivers/net/vmxnet3/base/
H A Dvmxnet3_defs.h152 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
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_flow.c267 if (spec->tci || (umask && umask->tci)) in ch_rte_parsetype_vlan()
268 CXGBE_FILL_FS(be16_to_cpu(spec->tci), in ch_rte_parsetype_vlan()
269 be16_to_cpu(mask->tci), ovlan); in ch_rte_parsetype_vlan()
276 if (spec->tci || (umask && umask->tci)) in ch_rte_parsetype_vlan()
277 CXGBE_FILL_FS(be16_to_cpu(spec->tci), in ch_rte_parsetype_vlan()
278 be16_to_cpu(mask->tci), ivlan); in ch_rte_parsetype_vlan()
984 .tci = 0xffff,
/dpdk/drivers/common/sfc_efx/base/
H A Def10_tx.c522 __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 Defx_tx.c702 __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()
/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c300 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),
1314 .tci = RTE_BE16(0x0fff), in mlx4_flow_internal()
1364 &vlan_spec.tci : in mlx4_flow_internal()
/dpdk/app/test-flow-perf/
H A Ditems_gen.c40 .tci = RTE_BE16(VLAN_VALUE), in add_vlan()
43 .tci = RTE_BE16(0xffff), in add_vlan()
/dpdk/drivers/net/qede/base/
H A Decore_sp_commands.c343 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()
/dpdk/lib/pcapng/
H A Drte_pcapng.c345 pcapng_vlan_insert(struct rte_mbuf *m, uint16_t ether_type, uint16_t tci) in pcapng_vlan_insert() argument
366 vh->vlan_tci = rte_cpu_to_be_16(tci); in pcapng_vlan_insert()
/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_utils.h368 uint32_t tci; member
386 uint32_t tci; /* TCI value, used if packet is not explicitly tagged */ member
/dpdk/drivers/net/i40e/
H A Di40e_flow.c2485 if (vlan_mask->tci != in i40e_flow_parse_fdir_pattern()
2487 vlan_mask->tci != in i40e_flow_parse_fdir_pattern()
2489 vlan_mask->tci != in i40e_flow_parse_fdir_pattern()
2491 vlan_mask->tci != in i40e_flow_parse_fdir_pattern()
2500 vlan_spec->tci; in i40e_flow_parse_fdir_pattern()
3728 if (vlan_mask->tci == in i40e_flow_parse_vxlan_pattern()
3731 rte_be_to_cpu_16(vlan_spec->tci) & in i40e_flow_parse_vxlan_pattern()
3959 if (vlan_mask->tci == in i40e_flow_parse_nvgre_pattern()
3962 rte_be_to_cpu_16(vlan_spec->tci) & in i40e_flow_parse_nvgre_pattern()
4485 filter->outer_vlan = rte_be_to_cpu_16(o_vlan_spec->tci); in i40e_flow_parse_qinq_pattern()
[all …]
H A Di40e_hash.c991 (rte_be_to_cpu_16(vlan_mask->tci) >> 13) != 7) in i40e_hash_parse_queue_region()
1038 rss_conf->region_priority = rte_be_to_cpu_16(vlan_spec->tci) >> 13; in i40e_hash_parse_queue_region()
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_flow.c1710 uint16_t tci = rte_ntohs(spec.vlan.tci); in flow_rule_action_get() local
1712 tci >> 13; in flow_rule_action_get()
1714 (tci >> 12) & 0x1; in flow_rule_action_get()
1716 tci & 0xfff; in flow_rule_action_get()
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst1855 udp-dst (udp-dst) ip-src (ip-src) ip-dst (ip-dst) vlan-tci (vlan-tci) \
1875 ip-dst (ip-dst) vlan-tci (vlan-tci) eth-src (eth-src) eth-dst (eth-dst)
1888 set l2_encap-with-vlan ip-version (ipv4|ipv6) vlan-tci (vlan-tci) \
1917 ip-src (ip-src) ip-dst (ip-dst) vlan-tci (vlan-tci) \
1948 vlan-tci (vlan-tci) eth-src (eth-src) eth-dst (eth-dst)
3963 - ``tci {unsigned}``: tag control information.
4976 vlan tci is 654 / end actions pf / queue index 0 / end
5121 testpmd> set l2_encap-with-vlan ip-version ipv4 vlan-tci 34
5161 ip-src 127.0.0.1 ip-dst 128.0.0.1 vlan-tci 34
5177 ip-src ::1 ip-dst ::2222 vlan-tci 34
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_npc.h107 uint16_t tci; /**< Tag control information. */ member
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c397 .tci = rte_cpu_to_be_16(RTE_ETH_VLAN_ID_MAX), in sfc_flow_parse_vlan()
417 if (mask->tci == supp_mask.tci) { in sfc_flow_parse_vlan()
419 vid = rte_bswap16(spec->tci & mask->tci); in sfc_flow_parse_vlan()
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c551 if (vlan_mask->tci) { in hns3_parse_vlan()
556 rte_be_to_cpu_16(vlan_mask->tci); in hns3_parse_vlan()
561 rte_be_to_cpu_16(vlan_mask->tci); in hns3_parse_vlan()
569 rte_be_to_cpu_16(vlan_spec->tci); in hns3_parse_vlan()
572 rte_be_to_cpu_16(vlan_spec->tci); in hns3_parse_vlan()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c843 vlan_tag = ntohs(vlan_spec->tci); in ulp_rte_vlan_hdr_handler()
851 vlan_tag_mask = ntohs(vlan_mask->tci); in ulp_rte_vlan_hdr_handler()
878 size = sizeof(((struct rte_flow_item_vlan *)NULL)->tci); in ulp_rte_vlan_hdr_handler()
1841 size = sizeof(vlan_spec->tci); in ulp_rte_enc_vlan_hdr_handler()
1842 field = ulp_rte_parser_fld_copy(field, &vlan_spec->tci, size); in ulp_rte_enc_vlan_hdr_handler()
/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c314 k = rte_be_to_cpu_16(spec->tci) & MRVL_VLAN_ID_MASK; in mrvl_parse_vlan_id()
350 k = (rte_be_to_cpu_16(spec->tci) & MRVL_VLAN_PRI_MASK) >> 13; in mrvl_parse_vlan_pri()
908 m = rte_be_to_cpu_16(mask->tci); in mrvl_parse_vlan()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_flow.c109 .tci = RTE_BE16(0xffff),
1269 if (!mask->tci) in dpaa2_configure_flow_vlan()
1317 &spec->tci, in dpaa2_configure_flow_vlan()
1318 &mask->tci, in dpaa2_configure_flow_vlan()
1330 &spec->tci, in dpaa2_configure_flow_vlan()
1331 &mask->tci, in dpaa2_configure_flow_vlan()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c518 eth.val.vlan_tag = spec->tci; in flow_verbs_translate_item_vlan()
519 eth.mask.vlan_tag = mask->tci; in flow_verbs_translate_item_vlan()
531 rte_be_to_cpu_16(spec->tci) & 0x0fff; in flow_verbs_translate_item_vlan()
/dpdk/doc/guides/nics/
H A Dnetvsc.rst29 * VLAN tags are always stripped and presented in mbuf tci field.
/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c302 if (vlan_mask->tci && in bnxt_validate_and_parse_flow_type()
303 vlan_mask->tci == RTE_BE16(0x0fff)) { in bnxt_validate_and_parse_flow_type()
306 rte_be_to_cpu_16(vlan_spec->tci & in bnxt_validate_and_parse_flow_type()

12