Home
last modified time | relevance | path

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

123

/dpdk/lib/pipeline/
H A Drte_table_action.c765 if ((p->vxlan.vxlan.vni > 0xFFFFFF) || in encap_vxlan_apply()
766 (cfg->vxlan.ip_version && (p->vxlan.ipv4.dscp > 0x3F)) || in encap_vxlan_apply()
767 (!cfg->vxlan.ip_version && (p->vxlan.ipv6.flow_label > 0xFFFFF)) || in encap_vxlan_apply()
768 (!cfg->vxlan.ip_version && (p->vxlan.ipv6.dscp > 0x3F)) || in encap_vxlan_apply()
769 (cfg->vxlan.vlan && (p->vxlan.vlan.vid > 0xFFF))) in encap_vxlan_apply()
811 d->vxlan.vx_vni = rte_htonl(p->vxlan.vxlan.vni << 8); in encap_vxlan_apply()
846 d->vxlan.vx_vni = rte_htonl(p->vxlan.vxlan.vni << 8); in encap_vxlan_apply()
875 p->vxlan.ipv6.sa, in encap_vxlan_apply()
878 p->vxlan.ipv6.da, in encap_vxlan_apply()
889 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
/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 …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_flow.c138 struct rte_flow_item_vxlan vxlan; member
1703 if (!params->encap.vxlan.vlan) in flow_rule_action_get()
1726 if (params->encap.vxlan.vlan) in flow_rule_action_get()
1738 rule_action->encap.vxlan.ipv4.sa = in flow_rule_action_get()
1740 rule_action->encap.vxlan.ipv4.da = in flow_rule_action_get()
1791 rule_action->encap.vxlan.udp.sp = in flow_rule_action_get()
1793 rule_action->encap.vxlan.udp.dp = in flow_rule_action_get()
1812 rule_action->encap.vxlan.vxlan.vni = in flow_rule_action_get()
1813 (spec.vxlan.vni[0] << 16U | in flow_rule_action_get()
1814 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 …]
/dpdk/drivers/net/enic/
H A Denic_ethdev.c987 cfg = vxlan ? OVERLAY_CFG_VXLAN_PORT_UPDATE : in update_tunnel_port()
994 vxlan ? "vxlan" : "geneve", port); in update_tunnel_port()
995 if (vxlan) in update_tunnel_port()
1007 bool vxlan; in enicpmd_dev_udp_tunnel_port_add() local
1014 vxlan = (tnl->prot_type == RTE_ETH_TUNNEL_TYPE_VXLAN); in enicpmd_dev_udp_tunnel_port_add()
1015 if (vxlan) in enicpmd_dev_udp_tunnel_port_add()
1028 return update_tunnel_port(enic, tnl->udp_port, vxlan); in enicpmd_dev_udp_tunnel_port_add()
1036 bool vxlan; in enicpmd_dev_udp_tunnel_port_del() local
1043 vxlan = (tnl->prot_type == RTE_ETH_TUNNEL_TYPE_VXLAN); in enicpmd_dev_udp_tunnel_port_del()
1044 if (vxlan) in enicpmd_dev_udp_tunnel_port_del()
[all …]
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_main.c1726 if (enic->vxlan) { in enic_disable_overlay_offload()
1739 if (enic->vxlan && vnic_dev_overlay_offload_ctrl(enic->vdev, in enic_enable_overlay_offload()
1752 (enic->vxlan ? RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO : 0); in enic_enable_overlay_offload()
1760 if (enic->vxlan && enic->geneve) in enic_enable_overlay_offload()
1762 else if (enic->vxlan) in enic_enable_overlay_offload()
1773 if (enic->vxlan) { in enic_reset_overlay_port()
1871 if (!enic->disable_overlay && (enic->vxlan || enic->geneve)) { in enic_dev_init()
/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()
/dpdk/examples/ip_pipeline/
H A Dcli.c1278 p.encap.vxlan.ip_version = 1; in cmd_table_action_profile()
1294 p.encap.vxlan.vlan = 1; in cmd_table_action_profile()
1296 p.encap.vxlan.vlan = 0; in cmd_table_action_profile()
3653 parser_read_uint32(&a->encap.vxlan.vxlan.vni, tokens[1]) || in parse_table_action_encap()
3654 (a->encap.vxlan.vxlan.vni > 0xFFFFFF)) in parse_table_action_encap()
5030 a->encap.vxlan.vlan.pcp, in table_rule_show()
5031 a->encap.vxlan.vlan.dei, in table_rule_show()
5032 a->encap.vxlan.vlan.vid); in table_rule_show()
5051 a->encap.vxlan.udp.sp, in table_rule_show()
5052 a->encap.vxlan.udp.dp, in table_rule_show()
[all …]
/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()
/dpdk/doc/guides/tools/
H A Dflow-perf.rst185 * ``--vxlan``
191 * ``--vxlan-gpe``
378 Example: raw-encap=ether,ipv4,udp,vxlan
385 * ``--vxlan-encap``
386 Add vxlan encap action to all flows actions.
387 Data to encap is fixed with pattern: ether,ipv4,udp,vxlan,
390 * ``--vxlan-decap``
391 Add vxlan decap action to all flows actions.
/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)
/dpdk/examples/pipeline/examples/
H A Dvxlan_pcap.cli18 pipeline PIPELINE0 build ./examples/pipeline/examples/vxlan.spec
H A Dvxlan.cli23 pipeline PIPELINE0 build ./examples/pipeline/examples/vxlan.spec
/dpdk/doc/guides/nics/features/
H A Dhinic.ini50 vxlan = Y key
H A Dipn3ke.ini57 vxlan = Y key
H A Denic.ini56 vxlan = Y key
H A Dhns3.ini64 vxlan = Y key
H A Dtxgbe.ini67 vxlan = Y key
H A Di40e.ini73 vxlan = Y key
H A Dixgbe.ini70 vxlan = Y key
H A Dsfc.ini61 vxlan = Y key
H A Dcnxk_vf.ini69 vxlan = Y key
H A Dice.ini75 vxlan = Y key

123