Home
last modified time | relevance | path

Searched refs:vxlan (Results 1 – 25 of 37) sorted by relevance

12

/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.c767 if ((p->vxlan.vxlan.vni > 0xFFFFFF) || in encap_vxlan_apply()
768 (cfg->vxlan.ip_version && (p->vxlan.ipv4.dscp > 0x3F)) || in encap_vxlan_apply()
769 (!cfg->vxlan.ip_version && (p->vxlan.ipv6.flow_label > 0xFFFFF)) || in encap_vxlan_apply()
770 (!cfg->vxlan.ip_version && (p->vxlan.ipv6.dscp > 0x3F)) || in encap_vxlan_apply()
771 (cfg->vxlan.vlan && (p->vxlan.vlan.vid > 0xFFF))) in encap_vxlan_apply()
813 d->vxlan.vx_vni = rte_htonl(p->vxlan.vxlan.vni << 8); in encap_vxlan_apply()
848 d->vxlan.vx_vni = rte_htonl(p->vxlan.vxlan.vni << 8); in encap_vxlan_apply()
877 p->vxlan.ipv6.sa, in encap_vxlan_apply()
880 p->vxlan.ipv6.da, in encap_vxlan_apply()
891 d->vxlan.vx_vni = rte_htonl(p->vxlan.vxlan.vni << 8); in encap_vxlan_apply()
[all …]
H A Drte_table_action.h497 struct rte_table_action_vxlan_hdr vxlan; /**< VXLAN header. */ member
531 } vxlan; /**< VXLAN specific configuration. */ member
568 struct rte_table_action_encap_vxlan_params vxlan; member
/f-stack/dpdk/drivers/net/qede/
H A Dqede_filter.c467 if (qdev->vxlan.enable == enable) in qede_vxlan_enable()
471 tunn.vxlan.b_update_mode = true; in qede_vxlan_enable()
472 tunn.vxlan.b_mode_enabled = enable; in qede_vxlan_enable()
475 tunn.vxlan.tun_cls = clss; in qede_vxlan_enable()
482 qdev->vxlan.enable = enable; in qede_vxlan_enable()
488 tunn.vxlan.tun_cls); in qede_vxlan_enable()
563 qdev->vxlan.udp_port = udp_port; in qede_udp_dst_port_del()
568 if (qdev->vxlan.enable && qdev->vxlan.num_filters == 0) in qede_udp_dst_port_del()
592 qdev->vxlan.udp_port = udp_port; in qede_udp_dst_port_del()
637 if (!qdev->vxlan.enable) { in qede_udp_dst_port_add()
[all …]
H A Dqede_ethdev.h250 struct qede_tunn_params vxlan; member
H A Dqede_main.c365 if (tun->vxlan.tun_cls == ECORE_TUNN_CLSS_MAC_VLAN && in qed_fill_dev_info()
366 tun->vxlan.b_mode_enabled) in qed_fill_dev_info()
H A Dqede_ethdev.c2730 adapter->vxlan.num_filters = 0; in qede_common_dev_init()
2734 adapter->vxlan.enable = true; in qede_common_dev_init()
2735 adapter->vxlan.filter_type = ETH_TUNNEL_FILTER_IMAC | in qede_common_dev_init()
2737 adapter->vxlan.udp_port = QEDE_VXLAN_DEF_PORT; in qede_common_dev_init()
2746 adapter->vxlan.enable = false; in qede_common_dev_init()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_flow.c138 struct rte_flow_item_vxlan vxlan; member
1699 if (!params->encap.vxlan.vlan) in flow_rule_action_get()
1722 if (params->encap.vxlan.vlan) in flow_rule_action_get()
1734 rule_action->encap.vxlan.ipv4.sa = in flow_rule_action_get()
1736 rule_action->encap.vxlan.ipv4.da = in flow_rule_action_get()
1787 rule_action->encap.vxlan.udp.sp = in flow_rule_action_get()
1789 rule_action->encap.vxlan.udp.dp = in flow_rule_action_get()
1808 rule_action->encap.vxlan.vxlan.vni = in flow_rule_action_get()
1809 (spec.vxlan.vni[0] << 16U | in flow_rule_action_get()
1810 spec.vxlan.vni[1] << 8U in flow_rule_action_get()
[all …]
H A Drte_eth_softnic_cli.c1987 p.encap.vxlan.ip_version = 1; in cmd_table_action_profile()
1989 p.encap.vxlan.ip_version = 0; in cmd_table_action_profile()
2003 p.encap.vxlan.vlan = 1; in cmd_table_action_profile()
2005 p.encap.vxlan.vlan = 0; in cmd_table_action_profile()
4291 a->encap.vxlan.vlan.pcp = pcp; in parse_table_action_encap()
4292 a->encap.vxlan.vlan.dei = dei; in parse_table_action_encap()
4293 a->encap.vxlan.vlan.vid = vid; in parse_table_action_encap()
4316 a->encap.vxlan.ipv4.dscp = dscp; in parse_table_action_encap()
4317 a->encap.vxlan.ipv4.ttl = ttl; in parse_table_action_encap()
4362 softnic_parser_read_uint32(&a->encap.vxlan.vxlan.vni, tokens[1]) || in parse_table_action_encap()
[all …]
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_sp_commands.c113 if (p_src->vxlan.b_update_mode || b_pf_start) in ecore_set_pf_update_tunn_mode()
114 p_tun->vxlan.b_mode_enabled = p_src->vxlan.b_mode_enabled; in ecore_set_pf_update_tunn_mode()
140 type = ecore_tunn_clss_to_fw_clss(p_src->vxlan.tun_cls); in ecore_set_tunn_cls_info()
141 p_tun->vxlan.tun_cls = (enum ecore_tunn_clss)type; in ecore_set_tunn_cls_info()
197 &p_tun->vxlan, in ecore_tunn_set_pf_update_params()
226 ecore_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled); in ecore_set_hw_tunn_mode()
274 &p_tun->vxlan, in ecore_tunn_set_pf_start_params()
H A Decore_vf.c721 if (p_tun->vxlan.b_mode_enabled) in ecore_vf_set_vf_start_tunn_update_param()
722 p_tun->vxlan.b_update_mode = true; in ecore_vf_set_vf_start_tunn_update_param()
757 __ecore_vf_update_tunn_param(&p_tun->vxlan, feat_mask, in ecore_vf_update_tunn_param()
779 p_tun->vxlan.b_mode_enabled, p_tun->l2_geneve.b_mode_enabled, in ecore_vf_update_tunn_param()
801 ecore_vf_prep_tunn_req_tlv(p_req, &p_src->vxlan, ECORE_MODE_VXLAN_TUNN, in ecore_vf_pf_tunnel_param_update()
/f-stack/dpdk/examples/ip_pipeline/
H A Dcli.c1280 p.encap.vxlan.ip_version = 1; in cmd_table_action_profile()
1296 p.encap.vxlan.vlan = 1; in cmd_table_action_profile()
1298 p.encap.vxlan.vlan = 0; in cmd_table_action_profile()
3655 parser_read_uint32(&a->encap.vxlan.vxlan.vni, tokens[1]) || in parse_table_action_encap()
3656 (a->encap.vxlan.vxlan.vni > 0xFFFFFF)) in parse_table_action_encap()
5039 a->encap.vxlan.vlan.pcp, in table_rule_show()
5040 a->encap.vxlan.vlan.dei, in table_rule_show()
5041 a->encap.vxlan.vlan.vid); in table_rule_show()
5060 a->encap.vxlan.udp.sp, in table_rule_show()
5061 a->encap.vxlan.udp.dp, in table_rule_show()
[all …]
/f-stack/dpdk/doc/guides/tools/
H A Dflow-perf.rst149 * ``--vxlan``
155 * ``--vxlan-gpe``
338 Example: raw-encap=ether,ipv4,udp,vxlan
345 * ``--vxlan-encap``
346 Add vxlan encap action to all flows actions.
347 Data to encap is fixed with pattern: ether,ipv4,udp,vxlan,
350 * ``--vxlan-decap``
351 Add vxlan decap action to all flows actions.
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c85 const struct rte_flow_item_vxlan *vxlan = NULL; in ipn3ke_pattern_vxlan() local
109 vxlan = item->spec; in ipn3ke_pattern_vxlan()
111 rte_memcpy(&parser->key[6], vxlan->vni, 3); in ipn3ke_pattern_vxlan()
124 if (vxlan != NULL && eth != NULL) { in ipn3ke_pattern_vxlan()
560 const struct rte_flow_item_vxlan *vxlan = NULL; in ipn3ke_pattern_vxlan_ip_udp() local
577 vxlan = item->spec; in ipn3ke_pattern_vxlan_ip_udp()
579 rte_memcpy(&parser->key[0], vxlan->vni, 3); in ipn3ke_pattern_vxlan_ip_udp()
604 if (vxlan != NULL && ipv4 != NULL && udp != NULL) { in ipn3ke_pattern_vxlan_ip_udp()
/f-stack/dpdk/drivers/net/enic/
H A Denic_flow.c714 if (!arg->enic->vxlan && !arg->enic->ig_vlan_strip_en) { in enic_copy_item_vlan_v2()
1027 uint8_t vxlan; in fixup_l5_layer() local
1029 if (!(inner_ofst > 0 && enic->vxlan)) in fixup_l5_layer()
1032 vxlan = sizeof(struct rte_vxlan_hdr); in fixup_l5_layer()
1034 gp->layer[FILTER_GENERIC_1_L5].mask, vxlan); in fixup_l5_layer()
1036 gp->layer[FILTER_GENERIC_1_L5].val, vxlan); in fixup_l5_layer()
1037 inner = inner_ofst - vxlan; in fixup_l5_layer()
1039 memcpy(layer, gp->layer[FILTER_GENERIC_1_L5].mask + vxlan, inner); in fixup_l5_layer()
1042 memcpy(layer, gp->layer[FILTER_GENERIC_1_L5].val + vxlan, inner); in fixup_l5_layer()
H A Denic_res.c179 enic->vxlan = ENIC_SETTING(enic, VXLAN) && in enic_get_vnic_config()
H A Denic.h140 bool vxlan; member
H A Denic_main.c1790 if (enic->disable_overlay && enic->vxlan) { in enic_dev_init()
1803 if (!enic->disable_overlay && enic->vxlan && in enic_dev_init()
1837 if (enic->vxlan) { in enic_dev_init()
/f-stack/dpdk/examples/pipeline/examples/
H A Dvxlan_pcap.cli19 pipeline PIPELINE0 build ./examples/vxlan.spec
H A Dvxlan.cli24 pipeline PIPELINE0 build ./examples/pipeline/examples/vxlan.spec
/f-stack/dpdk/doc/guides/prog_guide/
H A Dmbuf_lib.rst130 a vxlan-encapsulated tcp packet:
131 ``out_eth/out_ip/out_udp/vxlan/in_eth/in_ip/in_tcp/payload``
155 mb->l2_len = len(out_eth + out_ip + out_udp + vxlan + in_eth)
166 mb->l2_len = len(out_eth + out_ip + out_udp + vxlan + in_eth)
179 mb->l2_len = len(out_eth + out_ip + out_udp + vxlan + in_eth)
195 mb->l2_len = len(out_udp + vxlan + in_eth)
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_verbs.c822 struct ibv_flow_spec_tunnel vxlan = { in flow_verbs_translate_item_vxlan() local
835 vxlan.val.tunnel_id = id.vlan_id; in flow_verbs_translate_item_vxlan()
837 vxlan.mask.tunnel_id = id.vlan_id; in flow_verbs_translate_item_vxlan()
839 vxlan.val.tunnel_id &= vxlan.mask.tunnel_id; in flow_verbs_translate_item_vxlan()
841 flow_verbs_spec_add(&dev_flow->verbs, &vxlan, size); in flow_verbs_translate_item_vxlan()
/f-stack/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst216 vxlan
219 vxlan-gpe
1132 as a tunnel packet by the forwarding engine (geneve, gre, gtp, ipip, vxlan and vxlan-gpe are
1136 as a tunnel packet by the forwarding engine (geneve, gtp, vxlan and vxlan-gpe are
1196 tunnel headers (geneve, gtp, gre, ipip, vxlan, vxlan-gpe).
1209 eth_out/ipv4_out/udp_out/vxlan/eth_in/ipv4_in/tcp_in
2273 …config all rss (all|default|eth|vlan|ip|tcp|udp|sctp|ether|port|vxlan|geneve|nvgre|vxlan-gpe|l2tpv…
2378 testpmd> port config (port_id) udp_tunnel_port add|rm vxlan|geneve|vxlan-gpe (udp_port)
3646 - ``vxlan``: match VXLAN header.
3683 - ``vxlan-gpe``: match VXLAN-GPE header.
[all …]
/f-stack/dpdk/drivers/net/enic/base/
H A Dvnic_flowman.h177 } __rte_packed vxlan; member
/f-stack/dpdk/doc/guides/howto/
H A Dflow_bifurcation.rst69 testpmd> flow create 0 ingress pattern eth / ipv4 / udp / vxlan vni is 42 / end \
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dpipeline.rst61 $ ./<build_dir>/examples/dpdk-pipeline -c 0x3 -- -s examples/vxlan.cli

12