summaryrefslogtreecommitdiff
path: root/net/openvswitch/vport-netdev.h
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-07-29 14:52:06 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-30 09:03:10 +0300
commitdcc38c033b32b81b88b798f0c0b8453839ac996b (patch)
tree21db1c580a5c2e8b034ac185a27bad7af14a76fa /net/openvswitch/vport-netdev.h
parent1ce4b2f44df74bac91ff5ddcbf903572577005bc (diff)
downloadlinux-dcc38c033b32b81b88b798f0c0b8453839ac996b.tar.xz
openvswitch: Re-add CONFIG_OPENVSWITCH_VXLAN
This readds the config option CONFIG_OPENVSWITCH_VXLAN to avoid a hard dependency of OVS on VXLAN. It moves the VXLAN config compat code to vport-vxlan.c and allows compliation as a module. Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device") Fixes: 2661371ace96 ("openvswitch: fix compilation when vxlan is a module") Cc: Pravin B Shelar <pshelar@nicira.com> Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> Acked-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport-netdev.h')
-rw-r--r--net/openvswitch/vport-netdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/openvswitch/vport-netdev.h b/net/openvswitch/vport-netdev.h
index 684fb88723a4..804412697a90 100644
--- a/net/openvswitch/vport-netdev.h
+++ b/net/openvswitch/vport-netdev.h
@@ -26,7 +26,10 @@
struct vport *ovs_netdev_get_vport(struct net_device *dev);
+struct vport *ovs_netdev_link(struct vport *vport, const char *name);
+int ovs_netdev_send(struct vport *vport, struct sk_buff *skb);
void ovs_netdev_detach_dev(struct vport *);
+void ovs_vport_free_rcu(struct rcu_head *);
int __init ovs_netdev_init(void);
void ovs_netdev_exit(void);