On Fri, Jun 02, 2017 at 04:16:26PM +0000, Zoltán Balogh wrote:
> From: Georg Schmuecking <[email protected]>
>
> This patch is based on the "datapath: enable vxlangpe creation in compat mode"
> from Yi Yang. It introduces an extension option "gpe" to the vxlan port in the
> netdev-dpdk datapath. Description of vxlan gpe protocoll was added to header
> file lib/packets.h. In the vxlan specific methods the different packet are
> introduced and handled.
>
> Added VXLAN GPE tunnel push test.
>
> Signed-off-by: Yi Yang <yi.y.yang at intel.com>
> Signed-off-by: Georg Schmuecking <[email protected]>
Thanks for the patch. I applied this to master, folding in the
following incremental.
--8<--------------------------cut here-------------------------->8--
diff --git a/NEWS b/NEWS
index 276ecf8eab54..0e6c9bfe3a46 100644
--- a/NEWS
+++ b/NEWS
@@ -51,7 +51,8 @@ Post-v2.7.0
- Add --cleanup option to command 'ovs-appctl exit' (see ovs-vswitchd(8)).
- L3 tunneling:
* Add "layer3" options for tunnel ports that support non-Ethernet (L3)
- payload (GRE).
+ payload (GRE, VXLAN-GPE).
+ * New vxlan tunnel extension "gpe" to support VXLAN-GPE tunnels.
* Transparently pop and push Ethernet headers at transmit/reception
of packets to/from L3 tunnels.
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 03bb0af39e08..eba66a797b61 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -2388,6 +2388,18 @@
</ul>
</column>
+ <column name="options" key="layer3" type='{"type": "boolean"}'>
+ <p>
+ By default, or if set to false, the tunnel carries L2 packets (with
+ an Ethernet header). If set to true, the tunnel carries L3 packets
+ (without an Ethernet header present).
+ </p>
+
+ <p>
+ To set this option to true, the <code>gpe</code> extension must
+ also be enabled in <ref column="options" key="exts"/>.
+ </p>
+ </column>
</group>
<group title="Tunnel Options: gre only">
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev