Searched refs:vxlan_mask (Results 1 – 8 of 8) sorted by relevance
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | items_gen.c | 137 static struct rte_flow_item_vxlan vxlan_mask; in add_vxlan() local 145 memset(&vxlan_mask, 0, sizeof(struct rte_flow_item_vxlan)); in add_vxlan() 150 vxlan_mask.vni[2 - i] = 0xff; in add_vxlan() 158 items[items_counter].mask = &vxlan_mask; in add_vxlan()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_switch_filter.c | 505 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_switch_inset_get() local 976 vxlan_mask = item->mask; in ice_switch_inset_get() 981 if ((!vxlan_spec && vxlan_mask) || in ice_switch_inset_get() 982 (vxlan_spec && !vxlan_mask)) { in ice_switch_inset_get() 991 if (vxlan_spec && vxlan_mask) { in ice_switch_inset_get() 993 if (vxlan_mask->vni[0] || in ice_switch_inset_get() 994 vxlan_mask->vni[1] || in ice_switch_inset_get() 995 vxlan_mask->vni[2]) { in ice_switch_inset_get() 1001 (vxlan_mask->vni[2] << 16) | in ice_switch_inset_get() 1002 (vxlan_mask->vni[1] << 8) | in ice_switch_inset_get() [all …]
|
| H A D | ice_fdir_filter.c | 1646 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_fdir_parse_pattern() local 1948 vxlan_mask = item->mask; in ice_fdir_parse_pattern() 1950 if (vxlan_spec || vxlan_mask) { in ice_fdir_parse_pattern()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_ulp/ |
| H A D | ulp_rte_parser.c | 1379 const struct rte_flow_item_vxlan *vxlan_mask = item->mask; in ulp_rte_vxlan_hdr_handler() local 1407 if (vxlan_mask) { in ulp_rte_vxlan_hdr_handler() 1409 &vxlan_mask->flags, in ulp_rte_vxlan_hdr_handler() 1410 sizeof(vxlan_mask->flags)); in ulp_rte_vxlan_hdr_handler() 1412 &vxlan_mask->rsvd0, in ulp_rte_vxlan_hdr_handler() 1413 sizeof(vxlan_mask->rsvd0)); in ulp_rte_vxlan_hdr_handler() 1415 &vxlan_mask->vni, in ulp_rte_vxlan_hdr_handler() 1416 sizeof(vxlan_mask->vni)); in ulp_rte_vxlan_hdr_handler() 1418 &vxlan_mask->rsvd1, in ulp_rte_vxlan_hdr_handler() 1419 sizeof(vxlan_mask->rsvd1)); in ulp_rte_vxlan_hdr_handler()
|
| /f-stack/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 524 vxlan_mask = item->mask; in bnxt_validate_and_parse_flow_type() 529 if ((!vxlan_spec && vxlan_mask) || in bnxt_validate_and_parse_flow_type() 530 (vxlan_spec && !vxlan_mask)) { in bnxt_validate_and_parse_flow_type() 539 if (!vxlan_spec && !vxlan_mask) { in bnxt_validate_and_parse_flow_type() 557 if (vxlan_mask != NULL) { in bnxt_validate_and_parse_flow_type() 559 !!memcmp(vxlan_mask->vni, vni_mask, in bnxt_validate_and_parse_flow_type()
|
| /f-stack/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()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_flow.c | 889 const struct rte_flow_item_vxlan *vxlan_mask; in hns3_parse_vxlan() local 911 vxlan_mask = item->mask; in hns3_parse_vxlan() 914 if (vxlan_mask->flags) in hns3_parse_vxlan() 920 if (memcmp(vxlan_mask->vni, full_mask, VNI_OR_TNI_LEN) && in hns3_parse_vxlan() 921 memcmp(vxlan_mask->vni, zero_mask, VNI_OR_TNI_LEN)) in hns3_parse_vxlan() 925 if (vxlan_mask->vni[0]) { in hns3_parse_vxlan() 927 memcpy(rule->key_conf.mask.outer_tun_vni, vxlan_mask->vni, in hns3_parse_vxlan()
|
| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 3654 const struct rte_flow_item_vxlan *vxlan_mask; in i40e_flow_parse_vxlan_pattern() local 3780 vxlan_mask = item->mask; in i40e_flow_parse_vxlan_pattern() 3785 if ((!vxlan_spec && vxlan_mask) || in i40e_flow_parse_vxlan_pattern() 3786 (vxlan_spec && !vxlan_mask)) { in i40e_flow_parse_vxlan_pattern() 3795 if (vxlan_spec && vxlan_mask) { in i40e_flow_parse_vxlan_pattern() 3797 !!memcmp(vxlan_mask->vni, vni_mask, in i40e_flow_parse_vxlan_pattern()
|