summaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorGeorg Schmuecking <georg.schmuecking@ericsson.com>2017-06-02 16:16:26 +0000
committerBen Pfaff <blp@ovn.org>2017-06-02 15:01:20 -0700
commit439f39cb9bd7214d1f70c317420cb2d33556296f (patch)
tree5f11071ebfc5188bc2f2006dc559b074c1203f98 /datapath
parent63171f047fe20ef62ce0c42c4b9da2114ddd4bff (diff)
downloadopenvswitch-439f39cb9bd7214d1f70c317420cb2d33556296f.tar.gz
userspace: add vxlan gpe support to vport
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 <georg.schmuecking@ericsson.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/linux/compat/include/linux/openvswitch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/datapath/linux/compat/include/linux/openvswitch.h b/datapath/linux/compat/include/linux/openvswitch.h
index d29e61e97..4c88de1d6 100644
--- a/datapath/linux/compat/include/linux/openvswitch.h
+++ b/datapath/linux/compat/include/linux/openvswitch.h
@@ -291,6 +291,7 @@ enum ovs_vport_attr {
enum {
OVS_VXLAN_EXT_UNSPEC,
OVS_VXLAN_EXT_GBP, /* Flag or __u32 */
+ OVS_VXLAN_EXT_GPE = 8, /* Flag or __u32 */
__OVS_VXLAN_EXT_MAX,
};