Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test-flow-perf/
H A Ditems_gen.c136 static struct rte_flow_item_vxlan vxlan_spec; in add_vxlan() local
144 memset(&vxlan_spec, 0, sizeof(struct rte_flow_item_vxlan)); in add_vxlan()
149 vxlan_spec.vni[2 - i] = vni_value >> (i * 8); in add_vxlan()
154 vxlan_spec.flags = 0x8; in add_vxlan()
157 items[items_counter].spec = &vxlan_spec; in add_vxlan()
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c1389 if (vxlan_spec) { in ulp_rte_vxlan_hdr_handler()
1390 size = sizeof(vxlan_spec->flags); in ulp_rte_vxlan_hdr_handler()
1392 &vxlan_spec->flags, in ulp_rte_vxlan_hdr_handler()
1394 size = sizeof(vxlan_spec->rsvd0); in ulp_rte_vxlan_hdr_handler()
1396 &vxlan_spec->rsvd0, in ulp_rte_vxlan_hdr_handler()
1398 size = sizeof(vxlan_spec->vni); in ulp_rte_vxlan_hdr_handler()
1400 &vxlan_spec->vni, in ulp_rte_vxlan_hdr_handler()
1402 size = sizeof(vxlan_spec->rsvd1); in ulp_rte_vxlan_hdr_handler()
1404 &vxlan_spec->rsvd1, in ulp_rte_vxlan_hdr_handler()
1494 struct rte_flow_item_vxlan vxlan_spec; in ulp_rte_vxlan_encap_act_handler() local
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_flow.c147 const struct rte_flow_item_vxlan *vxlan_spec; in bnxt_validate_and_parse_flow_type() local
523 vxlan_spec = item->spec; 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()
545 if (vxlan_spec->rsvd1 || vxlan_spec->rsvd0[0] || in bnxt_validate_and_parse_flow_type()
546 vxlan_spec->rsvd0[1] || vxlan_spec->rsvd0[2] || in bnxt_validate_and_parse_flow_type()
547 vxlan_spec->flags != 0x8) { in bnxt_validate_and_parse_flow_type()
572 vxlan_spec->vni, 3); in bnxt_validate_and_parse_flow_type()
/f-stack/dpdk/drivers/net/ice/
H A Dice_switch_filter.c505 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_switch_inset_get() local
975 vxlan_spec = item->spec; 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()
997 (vxlan_spec->vni[2] << 16) | in ice_switch_inset_get()
998 (vxlan_spec->vni[1] << 8) | in ice_switch_inset_get()
999 vxlan_spec->vni[0]; in ice_switch_inset_get()
H A Dice_fdir_filter.c1646 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_fdir_parse_pattern() local
1947 vxlan_spec = item->spec; in ice_fdir_parse_pattern()
1950 if (vxlan_spec || vxlan_mask) { in ice_fdir_parse_pattern()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c2309 const struct rte_flow_item_vxlan *vxlan_spec; in ixgbe_parse_fdir_filter_tunnel() local
2509 vxlan_spec = item->spec; in ixgbe_parse_fdir_filter_tunnel()
2512 vxlan_spec->vni, RTE_DIM(vxlan_spec->vni)); in ixgbe_parse_fdir_filter_tunnel()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_flow.c3653 const struct rte_flow_item_vxlan *vxlan_spec; in i40e_flow_parse_vxlan_pattern() local
3779 vxlan_spec = item->spec; 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()
3808 vxlan_spec->vni, 3); in i40e_flow_parse_vxlan_pattern()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_flow.c888 const struct rte_flow_item_vxlan *vxlan_spec; in hns3_parse_vxlan() local
912 vxlan_spec = item->spec; in hns3_parse_vxlan()
930 memcpy(rule->key_conf.spec.outer_tun_vni, vxlan_spec->vni, in hns3_parse_vxlan()