Home
last modified time | relevance | path

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

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c1553 ulp_deference_struct(vxlan_spec, flags), in ulp_rte_vxlan_hdr_handler()
1559 ulp_deference_struct(vxlan_spec, rsvd0), in ulp_rte_vxlan_hdr_handler()
1565 ulp_deference_struct(vxlan_spec, vni), in ulp_rte_vxlan_hdr_handler()
1958 struct rte_flow_item_vxlan *vxlan_spec) in ulp_rte_enc_vxlan_hdr_handler() argument
1964 size = sizeof(vxlan_spec->flags); in ulp_rte_enc_vxlan_hdr_handler()
1967 size = sizeof(vxlan_spec->rsvd0); in ulp_rte_enc_vxlan_hdr_handler()
1970 size = sizeof(vxlan_spec->vni); in ulp_rte_enc_vxlan_hdr_handler()
1973 size = sizeof(vxlan_spec->rsvd1); in ulp_rte_enc_vxlan_hdr_handler()
1988 struct rte_flow_item_vxlan vxlan_spec; in ulp_rte_vxlan_encap_act_handler() local
2125 memcpy(&vxlan_spec, item->spec, vxlan_size); in ulp_rte_vxlan_encap_act_handler()
[all …]
/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
548 vxlan_spec = item->spec; 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()
570 if (vxlan_spec->rsvd1 || vxlan_spec->rsvd0[0] || in bnxt_validate_and_parse_flow_type()
571 vxlan_spec->rsvd0[1] || vxlan_spec->rsvd0[2] || in bnxt_validate_and_parse_flow_type()
572 vxlan_spec->flags != 0x8) { in bnxt_validate_and_parse_flow_type()
597 vxlan_spec->vni, 3); in bnxt_validate_and_parse_flow_type()
/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
974 vxlan_spec = item->spec; 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()
997 (vxlan_spec->vni[2] << 16) | in ice_switch_parse_pattern()
998 (vxlan_spec->vni[1] << 8) | in ice_switch_parse_pattern()
999 vxlan_spec->vni[0]; in ice_switch_parse_pattern()
H A Dice_fdir_filter.c1809 const struct rte_flow_item_vxlan *vxlan_spec, *vxlan_mask; in ice_fdir_parse_pattern() local
2314 vxlan_spec = item->spec; in ice_fdir_parse_pattern()
2318 if (!(vxlan_spec && vxlan_mask)) in ice_fdir_parse_pattern()
2332 filter->input.vxlan_data.vni = vxlan_spec->hdr.vx_vni; in ice_fdir_parse_pattern()
/dpdk/drivers/net/i40e/
H A Di40e_flow.c3649 const struct rte_flow_item_vxlan *vxlan_spec; in i40e_flow_parse_vxlan_pattern() local
3775 vxlan_spec = item->spec; 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()
3804 vxlan_spec->vni, 3); in i40e_flow_parse_vxlan_pattern()
/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()
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c929 const struct rte_flow_item_vxlan *vxlan_spec; in hns3_parse_vxlan() local
944 vxlan_spec = item->spec; in hns3_parse_vxlan()
962 memcpy(rule->key_conf.spec.outer_tun_vni, vxlan_spec->vni, in hns3_parse_vxlan()