Home
last modified time | relevance | path

Searched refs:inner_type (Results 1 – 19 of 19) sorted by relevance

/dpdk/drivers/net/cxgbe/
H A Dcxgbe_flow.c284 if (spec && (spec->inner_type || (umask && umask->inner_type))) in ch_rte_parsetype_vlan()
285 CXGBE_FILL_FS(be16_to_cpu(spec->inner_type), in ch_rte_parsetype_vlan()
286 be16_to_cpu(mask->inner_type), ethtype); in ch_rte_parsetype_vlan()
985 .inner_type = 0xffff,
/dpdk/drivers/net/enic/
H A Denic_flow.c718 vlan->eth_proto = mask->inner_type; in enic_copy_item_vlan_v2()
720 vlan->eth_proto = spec->inner_type; in enic_copy_item_vlan_v2()
722 eth_mask->ether_type = mask->inner_type; in enic_copy_item_vlan_v2()
723 eth_val->ether_type = spec->inner_type; in enic_copy_item_vlan_v2()
H A Denic_fm_flow.c468 if (eth_mask->ether_type && mask->inner_type) in enic_fm_copy_item_vlan()
476 if (mask->inner_type) { in enic_fm_copy_item_vlan()
477 eth_mask->ether_type = mask->inner_type; in enic_fm_copy_item_vlan()
478 eth_val->ether_type = spec->inner_type; in enic_fm_copy_item_vlan()
/dpdk/drivers/net/tap/
H A Dtap_flow.c279 .inner_type = -1,
590 if (mask->inner_type) { in tap_flow_create_vlan()
592 if (mask->inner_type != RTE_BE16(0xffff)) in tap_flow_create_vlan()
594 info->eth_type = spec->inner_type; in tap_flow_create_vlan()
/dpdk/drivers/common/cnxk/
H A Droc_npc.h108 uint16_t inner_type; /**< Inner EtherType or TPID. */ member
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c847 eth_type = vlan_spec->inner_type; in ulp_rte_vlan_hdr_handler()
894 size = sizeof(((struct rte_flow_item_vlan *)NULL)->inner_type); in ulp_rte_vlan_hdr_handler()
896 ulp_deference_struct(vlan_spec, inner_type), in ulp_rte_vlan_hdr_handler()
897 ulp_deference_struct(vlan_mask, inner_type), in ulp_rte_vlan_hdr_handler()
1844 size = sizeof(vlan_spec->inner_type); in ulp_rte_enc_vlan_hdr_handler()
1845 field = ulp_rte_parser_fld_copy(field, &vlan_spec->inner_type, size); in ulp_rte_enc_vlan_hdr_handler()
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c398 .inner_type = RTE_BE16(0xffff), in sfc_flow_parse_vlan()
448 if (mask->inner_type == supp_mask.inner_type) { in sfc_flow_parse_vlan()
450 efx_spec->efs_ether_type = rte_bswap16(spec->inner_type); in sfc_flow_parse_vlan()
451 } else if (mask->inner_type) { in sfc_flow_parse_vlan()
H A Dsfc_mae.c1963 RTE_SIZEOF_FIELD(struct rte_flow_item_vlan, inner_type),
1964 offsetof(struct rte_flow_item_vlan, inner_type),
1979 RTE_SIZEOF_FIELD(struct rte_flow_item_vlan, inner_type),
1980 offsetof(struct rte_flow_item_vlan, inner_type),
2059 et[pdata->nb_vlan_tags + 1].value = item_spec->inner_type; in sfc_mae_rule_parse_item_vlan()
2060 et[pdata->nb_vlan_tags + 1].mask = item_mask->inner_type; in sfc_mae_rule_parse_item_vlan()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c521 eth.val.ether_type = spec->inner_type; in flow_verbs_translate_item_vlan()
522 eth.mask.ether_type = mask->inner_type; in flow_verbs_translate_item_vlan()
1294 items->spec)->inner_type; in flow_verbs_validate()
1297 items->mask)->inner_type; in flow_verbs_validate()
H A Dmlx5_flow_dv.c2237 .inner_type = RTE_BE16(UINT16_MAX), in flow_dv_validate_item_vlan()
2806 .inner_type = RTE_BE16(0xffff), in flow_dev_get_vlan_info_from_items()
2842 if (vlan_m->inner_type == nic_mask.inner_type) in flow_dev_get_vlan_info_from_items()
2843 vlan->eth_proto = rte_be_to_cpu_16(vlan_v->inner_type & in flow_dev_get_vlan_info_from_items()
2844 vlan_m->inner_type); in flow_dev_get_vlan_info_from_items()
7004 items->spec)->inner_type; in flow_dv_validate()
7007 items->mask)->inner_type; in flow_dv_validate()
8413 if (vlan_m->inner_type == 0xFFFF) { in flow_dv_translate_item_vlan()
8414 switch (vlan_v->inner_type) { in flow_dv_translate_item_vlan()
8438 rte_be_to_cpu_16(vlan_m->inner_type)); in flow_dv_translate_item_vlan()
[all …]
H A Dmlx5_flow.c283 MLX5_XSET_ITEM_MASK_SPEC(vlan, inner_type); in mlx5_flow_expand_rss_item_complete()
2372 .inner_type = RTE_BE16(UINT16_MAX), in mlx5_flow_validate_item_vlan()
/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c317 if (vlan_mask->inner_type && in bnxt_validate_and_parse_flow_type()
318 vlan_mask->inner_type != RTE_BE16(0xffff)) { in bnxt_validate_and_parse_flow_type()
326 if (vlan_mask->inner_type) { in bnxt_validate_and_parse_flow_type()
328 rte_be_to_cpu_16(vlan_spec->inner_type); in bnxt_validate_and_parse_flow_type()
/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c923 if (mask->inner_type) { in mrvl_parse_vlan()
925 .type = spec->inner_type, in mrvl_parse_vlan()
928 .type = mask->inner_type, in mrvl_parse_vlan()
/dpdk/lib/ethdev/
H A Drte_flow.h927 rte_be16_t inner_type; /**< Inner EtherType or TPID. */ member
1133 rte_be16_t inner_type; /**< Inner EtherType or TPID. */ member
/dpdk/app/test-pmd/
H A Dcmdline_flow.c3660 inner_type)),
7393 .inner_type = 0, in parse_setup_vxlan_encap_data()
7528 .inner_type = 0, in parse_setup_nvgre_encap_data()
7604 .inner_type = 0, in parse_vc_action_l2_encap()
7644 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in parse_vc_action_l2_encap()
7646 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV6); in parse_vc_action_l2_encap()
7668 .inner_type = 0, in parse_vc_action_l2_decap()
7722 .inner_type = 0, in parse_vc_action_mplsogre_encap()
7784 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in parse_vc_action_mplsogre_encap()
7786 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV6); in parse_vc_action_mplsogre_encap()
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_flow.c2502 if (vlan_spec && vlan_mask && vlan_mask->inner_type) { in i40e_flow_parse_fdir_pattern()
2503 if (vlan_mask->inner_type != RTE_BE16(0xffff)) { in i40e_flow_parse_fdir_pattern()
2513 rte_be_to_cpu_16(vlan_spec->inner_type); in i40e_flow_parse_fdir_pattern()
2526 vlan_spec->inner_type; in i40e_flow_parse_fdir_pattern()
3719 vlan_mask->inner_type) { in i40e_flow_parse_vxlan_pattern()
3950 vlan_mask->inner_type) { in i40e_flow_parse_nvgre_pattern()
4459 vlan_mask->inner_type) { in i40e_flow_parse_qinq_pattern()
/dpdk/drivers/net/ice/
H A Dice_switch_filter.c1097 if (vlan_mask->inner_type) { in ice_switch_parse_pattern()
/dpdk/doc/guides/prog_guide/
H A Drte_flow.rst974 instead of using the ``inner_type field``.
975 If the ``inner_type`` and ``has_more_vlan`` fields are not specified,
979 - ``inner_type``: inner EtherType or TPID.
1074 - ``inner_type``: inner EtherType or TPID.
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst3967 - ``inner_type {unsigned}``: inner EtherType or TPID.
5288 inner_type is 0x0800 / ipv4 / udp dst is 4789 / vxlan vni
5668 {"item": "vlan inner_type is 0x0800"}