Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_ethdev/
H A Drte_flow.h770 rte_be16_t inner_type; /**< Inner EtherType or TPID. */ member
780 .inner_type = RTE_BE16(0x0000),
963 rte_be16_t inner_type; /**< Inner EtherType or TPID. */ member
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_flow.c289 if (spec && (spec->inner_type || (umask && umask->inner_type))) in ch_rte_parsetype_vlan()
290 CXGBE_FILL_FS(be16_to_cpu(spec->inner_type), in ch_rte_parsetype_vlan()
291 be16_to_cpu(mask->inner_type), ethtype); in ch_rte_parsetype_vlan()
990 .inner_type = 0xffff,
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_mae.c941 RTE_SIZEOF_FIELD(struct rte_flow_item_vlan, inner_type),
942 offsetof(struct rte_flow_item_vlan, inner_type),
957 RTE_SIZEOF_FIELD(struct rte_flow_item_vlan, inner_type),
958 offsetof(struct rte_flow_item_vlan, inner_type),
1009 ethertypes[pdata->nb_vlan_tags].value = item_spec->inner_type; in sfc_mae_rule_parse_item_vlan()
1010 ethertypes[pdata->nb_vlan_tags].mask = item_mask->inner_type; in sfc_mae_rule_parse_item_vlan()
H A Dsfc_flow.c389 .inner_type = RTE_BE16(0xffff), in sfc_flow_parse_vlan()
439 if (mask->inner_type == supp_mask.inner_type) { in sfc_flow_parse_vlan()
441 efx_spec->efs_ether_type = rte_bswap16(spec->inner_type); in sfc_flow_parse_vlan()
442 } else if (mask->inner_type) { in sfc_flow_parse_vlan()
/f-stack/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.c412 if (eth_mask->ether_type && mask->inner_type) in enic_fm_copy_item_vlan()
420 if (mask->inner_type) { in enic_fm_copy_item_vlan()
421 eth_mask->ether_type = mask->inner_type; in enic_fm_copy_item_vlan()
422 eth_val->ether_type = spec->inner_type; in enic_fm_copy_item_vlan()
/f-stack/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()
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c749 &vlan_spec->inner_type, in ulp_rte_vlan_hdr_handler()
750 sizeof(vlan_spec->inner_type)); in ulp_rte_vlan_hdr_handler()
751 eth_type = vlan_spec->inner_type; in ulp_rte_vlan_hdr_handler()
781 ulp_rte_prsr_mask_copy(params, &idx, &vlan_mask->inner_type, in ulp_rte_vlan_hdr_handler()
782 sizeof(vlan_mask->inner_type)); in ulp_rte_vlan_hdr_handler()
/f-stack/dpdk/app/test-pmd/
H A Dcmdline_flow.c2352 inner_type)),
5070 .inner_type = 0, in parse_vc_action_vxlan_encap()
5197 .inner_type = 0, in parse_vc_action_nvgre_encap()
5243 .inner_type = 0, in parse_vc_action_l2_encap()
5283 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in parse_vc_action_l2_encap()
5285 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV6); in parse_vc_action_l2_encap()
5307 .inner_type = 0, in parse_vc_action_l2_decap()
5361 .inner_type = 0, in parse_vc_action_mplsogre_encap()
5423 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in parse_vc_action_mplsogre_encap()
5425 vlan.inner_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV6); in parse_vc_action_mplsogre_encap()
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c574 eth.val.ether_type = spec->inner_type; in flow_verbs_translate_item_vlan()
575 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.c1644 .inner_type = RTE_BE16(UINT16_MAX), in flow_dv_validate_item_vlan()
2086 .inner_type = RTE_BE16(0xffff), in flow_dev_get_vlan_info_from_items()
2122 if (vlan_m->inner_type == nic_mask.inner_type) in flow_dev_get_vlan_info_from_items()
2123 vlan->eth_proto = rte_be_to_cpu_16(vlan_v->inner_type & in flow_dev_get_vlan_info_from_items()
2124 vlan_m->inner_type); in flow_dev_get_vlan_info_from_items()
5347 items->spec)->inner_type; in flow_dv_validate()
5350 items->mask)->inner_type; in flow_dv_validate()
6488 if (vlan_m->inner_type == 0xFFFF) { in flow_dv_translate_item_vlan()
6489 switch (vlan_v->inner_type) { in flow_dv_translate_item_vlan()
6513 rte_be_to_cpu_16(vlan_m->inner_type)); in flow_dv_translate_item_vlan()
[all …]
H A Dmlx5_flow.c148 (item->mask))->inner_type; in mlx5_flow_expand_rss_item_complete()
150 ether_type_m = rte_flow_item_vlan_mask.inner_type; in mlx5_flow_expand_rss_item_complete()
154 (item->spec))->inner_type; in mlx5_flow_expand_rss_item_complete()
1866 .inner_type = RTE_BE16(UINT16_MAX), in mlx5_flow_validate_item_vlan()
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c308 if (vlan_mask->inner_type && in bnxt_validate_and_parse_flow_type()
309 vlan_mask->inner_type != RTE_BE16(0xffff)) { in bnxt_validate_and_parse_flow_type()
317 if (vlan_mask->inner_type) { in bnxt_validate_and_parse_flow_type()
319 rte_be_to_cpu_16(vlan_spec->inner_type); in bnxt_validate_and_parse_flow_type()
/f-stack/dpdk/drivers/net/ice/
H A Dice_switch_filter.c1075 if (vlan_mask->inner_type) { in ice_switch_inset_get()
1077 vlan_spec->inner_type; in ice_switch_inset_get()
1079 vlan_mask->inner_type; in ice_switch_inset_get()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_flow.c2579 if (vlan_spec && vlan_mask && vlan_mask->inner_type) { in i40e_flow_parse_fdir_pattern()
2580 if (vlan_mask->inner_type != RTE_BE16(0xffff)) { in i40e_flow_parse_fdir_pattern()
2590 rte_be_to_cpu_16(vlan_spec->inner_type); in i40e_flow_parse_fdir_pattern()
2603 vlan_spec->inner_type; in i40e_flow_parse_fdir_pattern()
3723 vlan_mask->inner_type) { in i40e_flow_parse_vxlan_pattern()
3954 vlan_mask->inner_type) { in i40e_flow_parse_nvgre_pattern()
4463 vlan_mask->inner_type) { in i40e_flow_parse_qinq_pattern()
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c1073 if (mask->inner_type) { in mrvl_parse_vlan()
1075 .type = spec->inner_type, in mrvl_parse_vlan()
1078 .type = mask->inner_type, in mrvl_parse_vlan()
/f-stack/dpdk/doc/guides/prog_guide/
H A Drte_flow.rst932 instead of using the ``inner_type field``.
933 If the ``inner_type`` and ``has_more_vlan`` fields are not specified,
937 - ``inner_type``: inner EtherType or TPID.
1032 - ``inner_type``: inner EtherType or TPID.
/f-stack/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst3605 - ``inner_type {unsigned}``: inner EtherType or TPID.
4772 inner_type is 0x0800 / ipv4 / udp dst is 4789 / vxlan vni