summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport.c
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-08-19 11:23:34 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-20 00:15:44 -0700
commit58264848a5a7b91195f43c4729072e8cc980288d (patch)
treeedf1ffa351402de61a4fe26e4443872c2d7b1dcb /net/openvswitch/vport.c
parent1eaa81785a70082213d40de14ec13520b5c6fff2 (diff)
downloadop-kernel-dev-58264848a5a7b91195f43c4729072e8cc980288d.zip
op-kernel-dev-58264848a5a7b91195f43c4729072e8cc980288d.tar.gz
openvswitch: Add vxlan tunneling support.
Following patch adds vxlan vport type for openvswitch using vxlan api. So now there is vxlan dependency for openvswitch. CC: Jesse Gross <jesse@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport.c')
-rw-r--r--net/openvswitch/vport.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index d4c7fa0..d69e0c0 100644
--- a/net/openvswitch/vport.c
+++ b/net/openvswitch/vport.c
@@ -42,6 +42,9 @@ static const struct vport_ops *vport_ops_list[] = {
#ifdef CONFIG_OPENVSWITCH_GRE
&ovs_gre_vport_ops,
#endif
+#ifdef CONFIG_OPENVSWITCH_VXLAN
+ &ovs_vxlan_vport_ops,
+#endif
};
/* Protected by RCU read lock for reading, ovs_mutex for writing. */
OpenPOWER on IntegriCloud