| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_flow.c | 284 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 D | enic_flow.c | 718 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 D | enic_fm_flow.c | 468 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 D | tap_flow.c | 279 .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 D | roc_npc.h | 108 uint16_t inner_type; /**< Inner EtherType or TPID. */ member
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 847 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 D | sfc_flow.c | 398 .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 D | sfc_mae.c | 1963 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 D | mlx5_flow_verbs.c | 521 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 D | mlx5_flow_dv.c | 2237 .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 D | mlx5_flow.c | 283 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 D | bnxt_flow.c | 317 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 D | mrvl_flow.c | 923 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 D | rte_flow.h | 927 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 D | cmdline_flow.c | 3660 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 D | i40e_flow.c | 2502 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 D | ice_switch_filter.c | 1097 if (vlan_mask->inner_type) { in ice_switch_parse_pattern()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | rte_flow.rst | 974 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 D | testpmd_funcs.rst | 3967 - ``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"}
|