Home
last modified time | relevance | path

Searched refs:vlan_spec (Results 1 – 13 of 13) sorted by relevance

/dpdk/drivers/net/i40e/
H A Di40e_flow.c2480 vlan_spec = item->spec; in i40e_flow_parse_fdir_pattern()
2484 if (vlan_spec && vlan_mask) { in i40e_flow_parse_fdir_pattern()
2500 vlan_spec->tci; in i40e_flow_parse_fdir_pattern()
2526 vlan_spec->inner_type; in i40e_flow_parse_fdir_pattern()
3716 vlan_spec = item->spec; in i40e_flow_parse_vxlan_pattern()
3727 if (vlan_spec && vlan_mask) { in i40e_flow_parse_vxlan_pattern()
3947 vlan_spec = item->spec; in i40e_flow_parse_nvgre_pattern()
3958 if (vlan_spec && vlan_mask) { in i40e_flow_parse_nvgre_pattern()
4455 vlan_spec = item->spec; in i40e_flow_parse_qinq_pattern()
4468 o_vlan_spec = vlan_spec; in i40e_flow_parse_qinq_pattern()
[all …]
H A Di40e_hash.c978 const struct rte_flow_item_vlan *vlan_spec, *vlan_mask; in i40e_hash_parse_queue_region() local
988 vlan_spec = pattern->spec; in i40e_hash_parse_queue_region()
990 if (!vlan_spec || !vlan_mask || 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/app/test-flow-perf/
H A Ditems_gen.c39 static struct rte_flow_item_vlan vlan_spec = { in add_vlan() local
47 items[items_counter].spec = &vlan_spec; in add_vlan()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c830 const struct rte_flow_item_vlan *vlan_spec = item->spec; in ulp_rte_vlan_hdr_handler() local
842 if (vlan_spec) { in ulp_rte_vlan_hdr_handler()
843 vlan_tag = ntohs(vlan_spec->tci); in ulp_rte_vlan_hdr_handler()
847 eth_type = vlan_spec->inner_type; in ulp_rte_vlan_hdr_handler()
896 ulp_deference_struct(vlan_spec, inner_type), in ulp_rte_vlan_hdr_handler()
1825 const struct rte_flow_item_vlan *vlan_spec, in ulp_rte_enc_vlan_hdr_handler() argument
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()
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/mlx5/
H A Dmlx5_trigger.c1394 struct rte_flow_item_vlan vlan_spec = { in mlx5_traffic_enable() local
1401 &vlan_spec, &vlan_mask); in mlx5_traffic_enable()
1406 &vlan_spec, &vlan_mask); in mlx5_traffic_enable()
1436 struct rte_flow_item_vlan vlan_spec = { in mlx5_traffic_enable() local
1444 &vlan_spec, in mlx5_traffic_enable()
H A Dmlx5.h1806 struct rte_flow_item_vlan *vlan_spec,
H A Dmlx5_flow.c7612 struct rte_flow_item_vlan *vlan_spec, in mlx5_ctrl_flow_vlan() argument
7628 .type = (vlan_spec) ? RTE_FLOW_ITEM_TYPE_VLAN : in mlx5_ctrl_flow_vlan()
7630 .spec = vlan_spec, in mlx5_ctrl_flow_vlan()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c190 const struct rte_flow_item_vlan *vlan_spec; in cons_parse_ntuple_filter() local
301 vlan_spec = item->spec; in cons_parse_ntuple_filter()
313 (memcmp(vlan_spec, &vlan_null, in cons_parse_ntuple_filter()
1611 const struct rte_flow_item_vlan *vlan_spec; in ixgbe_parse_fdir_filter_normal() local
1790 vlan_spec = item->spec; in ixgbe_parse_fdir_filter_normal()
1793 rule->ixgbe_fdir.formatted.vlan_id = vlan_spec->tci; in ixgbe_parse_fdir_filter_normal()
2315 const struct rte_flow_item_vlan *vlan_spec; in ixgbe_parse_fdir_filter_tunnel() local
2722 vlan_spec = item->spec; in ixgbe_parse_fdir_filter_tunnel()
2725 rule->ixgbe_fdir.formatted.vlan_id = vlan_spec->tci; in ixgbe_parse_fdir_filter_tunnel()
/dpdk/drivers/net/ice/
H A Dice_switch_filter.c535 const struct rte_flow_item_vlan *vlan_spec, *vlan_mask; in ice_switch_parse_pattern() local
1050 vlan_spec = item->spec; in ice_switch_parse_pattern()
1056 if ((!vlan_spec && vlan_mask) || in ice_switch_parse_pattern()
1057 (vlan_spec && !vlan_mask)) { in ice_switch_parse_pattern()
1074 if (vlan_spec && vlan_mask) { in ice_switch_parse_pattern()
1092 vlan_spec->tci; in ice_switch_parse_pattern()
/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c1312 struct rte_flow_item_vlan vlan_spec; in mlx4_flow_internal() local
1364 &vlan_spec.tci : in mlx4_flow_internal()
1386 .spec = &vlan_spec, in mlx4_flow_internal()
/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c136 const struct rte_flow_item_vlan *vlan_spec, *vlan_mask; in bnxt_validate_and_parse_flow_type() local
287 vlan_spec = item->spec; in bnxt_validate_and_parse_flow_type()
306 rte_be_to_cpu_16(vlan_spec->tci & 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/hns3/
H A Dhns3_flow.c536 const struct rte_flow_item_vlan *vlan_spec; in hns3_parse_vlan() local
566 vlan_spec = item->spec; 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/txgbe/
H A Dtxgbe_flow.c156 const struct rte_flow_item_vlan *vlan_spec; in cons_parse_ntuple_filter() local
265 vlan_spec = item->spec; in cons_parse_ntuple_filter()
275 if ((item->spec && memcmp(vlan_spec, &vlan_null, in cons_parse_ntuple_filter()