Searched refs:vxlan_mask (Results 1 – 8 of 8) sorted by relevance
| /dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 534 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 D | ice_fdir_filter.c | 1809 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 D | ixgbe_flow.c | 2310 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 D | bnxt_flow.c | 148 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 D | hns3_flow.c | 930 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 D | ice_fdir.h | 253 struct ice_fdir_udp_vxlan vxlan_mask; member
|
| /dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 1536 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 D | i40e_flow.c | 3650 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()
|