Searched refs:vlan_spec (Results 1 – 11 of 11) sorted by relevance
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | items_gen.c | 41 static struct rte_flow_item_vlan vlan_spec; in add_vlan() local 46 memset(&vlan_spec, 0, sizeof(struct rte_flow_item_vlan)); in add_vlan() 49 vlan_spec.tci = RTE_BE16(vlan_value); in add_vlan() 53 items[items_counter].spec = &vlan_spec; in add_vlan()
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 2557 vlan_spec = item->spec; in i40e_flow_parse_fdir_pattern() 2561 if (vlan_spec && vlan_mask) { in i40e_flow_parse_fdir_pattern() 2577 vlan_spec->tci; in i40e_flow_parse_fdir_pattern() 2603 vlan_spec->inner_type; in i40e_flow_parse_fdir_pattern() 3720 vlan_spec = item->spec; in i40e_flow_parse_vxlan_pattern() 3731 if (vlan_spec && vlan_mask) { in i40e_flow_parse_vxlan_pattern() 3951 vlan_spec = item->spec; in i40e_flow_parse_nvgre_pattern() 4459 vlan_spec = item->spec; in i40e_flow_parse_qinq_pattern() 4472 o_vlan_spec = vlan_spec; in i40e_flow_parse_qinq_pattern() 4476 i_vlan_spec = vlan_spec; in i40e_flow_parse_qinq_pattern() [all …]
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 506 const struct rte_flow_item_vlan *vlan_spec, *vlan_mask; in ice_switch_inset_get() local 1051 vlan_spec = item->spec; in ice_switch_inset_get() 1057 if ((!vlan_spec && vlan_mask) || in ice_switch_inset_get() 1058 (vlan_spec && !vlan_mask)) { in ice_switch_inset_get() 1065 if (vlan_spec && vlan_mask) { in ice_switch_inset_get() 1069 vlan_spec->tci; in ice_switch_inset_get() 1077 vlan_spec->inner_type; in ice_switch_inset_get()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_trigger.c | 1296 struct rte_flow_item_vlan vlan_spec = { in mlx5_traffic_enable() local 1303 &vlan_spec, &vlan_mask); in mlx5_traffic_enable() 1308 &vlan_spec, &vlan_mask); in mlx5_traffic_enable() 1334 struct rte_flow_item_vlan vlan_spec = { in mlx5_traffic_enable() local 1342 &vlan_spec, in mlx5_traffic_enable()
|
| H A D | mlx5.h | 1224 struct rte_flow_item_vlan *vlan_spec,
|
| H A D | mlx5_flow.c | 5932 struct rte_flow_item_vlan *vlan_spec, in mlx5_ctrl_flow_vlan() argument 5948 .type = (vlan_spec) ? RTE_FLOW_ITEM_TYPE_VLAN : in mlx5_ctrl_flow_vlan() 5950 .spec = vlan_spec, in mlx5_ctrl_flow_vlan()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_flow.c | 190 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()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 721 const struct rte_flow_item_vlan *vlan_spec = item->spec; in ulp_rte_vlan_hdr_handler() local 736 if (vlan_spec) { in ulp_rte_vlan_hdr_handler() 737 vlan_tag = ntohs(vlan_spec->tci); in ulp_rte_vlan_hdr_handler() 749 &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()
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_flow.c | 1310 struct rte_flow_item_vlan vlan_spec; in mlx4_flow_internal() local 1362 &vlan_spec.tci : in mlx4_flow_internal() 1384 .spec = &vlan_spec, in mlx4_flow_internal()
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_flow.c | 136 const struct rte_flow_item_vlan *vlan_spec, *vlan_mask; in bnxt_validate_and_parse_flow_type() local 283 vlan_spec = item->spec; in bnxt_validate_and_parse_flow_type() 297 rte_be_to_cpu_16(vlan_spec->tci & 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/hns3/ |
| H A D | hns3_flow.c | 483 const struct rte_flow_item_vlan *vlan_spec; in hns3_parse_vlan() local 518 vlan_spec = item->spec; in hns3_parse_vlan() 521 rte_be_to_cpu_16(vlan_spec->tci); in hns3_parse_vlan() 524 rte_be_to_cpu_16(vlan_spec->tci); in hns3_parse_vlan()
|