Home
last modified time | relevance | path

Searched refs:vxlan_mask (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/net/ice/
H A Dice_switch_filter.c534 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_switch_parse_pattern() local
975 vxlan_mask = item->mask; in ice_switch_parse_pattern()
980 if ((!vxlan_spec && vxlan_mask) || in ice_switch_parse_pattern()
981 (vxlan_spec && !vxlan_mask)) { in ice_switch_parse_pattern()
991 if (vxlan_spec && vxlan_mask) { in ice_switch_parse_pattern()
993 if (vxlan_mask->vni[0] || in ice_switch_parse_pattern()
994 vxlan_mask->vni[1] || in ice_switch_parse_pattern()
995 vxlan_mask->vni[2]) { in ice_switch_parse_pattern()
1001 (vxlan_mask->vni[2] << 16) | in ice_switch_parse_pattern()
1002 (vxlan_mask->vni[1] << 8) | in ice_switch_parse_pattern()
[all …]
H A Dice_fdir_filter.c1809 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_fdir_parse_pattern() local
2315 vxlan_mask = item->mask; in ice_fdir_parse_pattern()
2318 if (!(vxlan_spec && vxlan_mask)) in ice_fdir_parse_pattern()
2321 if (vxlan_mask->hdr.vx_flags) { in ice_fdir_parse_pattern()
2329 if (vxlan_mask->hdr.vx_vni) in ice_fdir_parse_pattern()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c2310 const struct rte_flow_item_vxlan *vxlan_mask; in ixgbe_parse_fdir_filter_tunnel() local
2483 vxlan_mask = item->mask; in ixgbe_parse_fdir_filter_tunnel()
2484 if (vxlan_mask->flags) { in ixgbe_parse_fdir_filter_tunnel()
2492 if ((vxlan_mask->vni[0] || vxlan_mask->vni[1] || in ixgbe_parse_fdir_filter_tunnel()
2493 vxlan_mask->vni[2]) && in ixgbe_parse_fdir_filter_tunnel()
2494 ((vxlan_mask->vni[0] != 0xFF) || in ixgbe_parse_fdir_filter_tunnel()
2495 (vxlan_mask->vni[1] != 0xFF) || in ixgbe_parse_fdir_filter_tunnel()
2496 (vxlan_mask->vni[2] != 0xFF))) { in ixgbe_parse_fdir_filter_tunnel()
2504 rte_memcpy(&rule->mask.tunnel_id_mask, vxlan_mask->vni, in ixgbe_parse_fdir_filter_tunnel()
2505 RTE_DIM(vxlan_mask->vni)); in ixgbe_parse_fdir_filter_tunnel()
/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c148 const struct rte_flow_item_vxlan *vxlan_mask; in bnxt_validate_and_parse_flow_type() local
549 vxlan_mask = item->mask; in bnxt_validate_and_parse_flow_type()
554 if ((!vxlan_spec && vxlan_mask) || in bnxt_validate_and_parse_flow_type()
555 (vxlan_spec && !vxlan_mask)) { in bnxt_validate_and_parse_flow_type()
564 if (!vxlan_spec && !vxlan_mask) { in bnxt_validate_and_parse_flow_type()
582 if (vxlan_mask != NULL) { in bnxt_validate_and_parse_flow_type()
584 !!memcmp(vxlan_mask->vni, vni_mask, in bnxt_validate_and_parse_flow_type()
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c930 const struct rte_flow_item_vxlan *vxlan_mask; in hns3_parse_vxlan() local
943 vxlan_mask = item->mask; in hns3_parse_vxlan()
946 if (vxlan_mask->flags) in hns3_parse_vxlan()
952 if (memcmp(vxlan_mask->vni, full_mask, VNI_OR_TNI_LEN) && in hns3_parse_vxlan()
953 memcmp(vxlan_mask->vni, zero_mask, VNI_OR_TNI_LEN)) in hns3_parse_vxlan()
957 if (vxlan_mask->vni[0]) { in hns3_parse_vxlan()
959 memcpy(rule->key_conf.mask.outer_tun_vni, vxlan_mask->vni, in hns3_parse_vxlan()
/dpdk/drivers/net/ice/base/
H A Dice_fdir.h253 struct ice_fdir_udp_vxlan vxlan_mask; member
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c1536 const struct rte_flow_item_vxlan *vxlan_mask = item->mask; in ulp_rte_vxlan_hdr_handler() local
1554 ulp_deference_struct(vxlan_mask, flags), in ulp_rte_vxlan_hdr_handler()
1560 ulp_deference_struct(vxlan_mask, rsvd0), in ulp_rte_vxlan_hdr_handler()
1566 ulp_deference_struct(vxlan_mask, vni), in ulp_rte_vxlan_hdr_handler()
1572 ulp_deference_struct(vxlan_mask, rsvd1), in ulp_rte_vxlan_hdr_handler()
/dpdk/drivers/net/i40e/
H A Di40e_flow.c3650 const struct rte_flow_item_vxlan *vxlan_mask; in i40e_flow_parse_vxlan_pattern() local
3776 vxlan_mask = item->mask; in i40e_flow_parse_vxlan_pattern()
3781 if ((!vxlan_spec && vxlan_mask) || in i40e_flow_parse_vxlan_pattern()
3782 (vxlan_spec && !vxlan_mask)) { in i40e_flow_parse_vxlan_pattern()
3791 if (vxlan_spec && vxlan_mask) { in i40e_flow_parse_vxlan_pattern()
3793 !!memcmp(vxlan_mask->vni, vni_mask, in i40e_flow_parse_vxlan_pattern()