diff options
author | Thomas Graf <tgraf@suug.ch> | 2015-07-21 10:44:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-21 10:39:07 -0700 |
commit | 614732eaa12dd462c0ab274700bed14f36afea5e (patch) | |
tree | a1c33082de3ab1192f072605ab1abe106f11065c /include/net/rtnetlink.h | |
parent | c9db965c524ea27451e60d5ddcd242f6c33a70fd (diff) | |
download | linux-stable-614732eaa12dd462c0ab274700bed14f36afea5e.tar.gz linux-stable-614732eaa12dd462c0ab274700bed14f36afea5e.tar.bz2 linux-stable-614732eaa12dd462c0ab274700bed14f36afea5e.zip |
openvswitch: Use regular VXLAN net_device device
This gets rid of all OVS specific VXLAN code in the receive and
transmit path by using a VXLAN net_device to represent the vport.
Only a small shim layer remains which takes care of handling the
VXLAN specific OVS Netlink configuration.
Unexports vxlan_sock_add(), vxlan_sock_release(), vxlan_xmit_skb()
since they are no longer needed.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 343d922d15c2..18fdb98185ab 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h @@ -141,6 +141,7 @@ struct net_device *rtnl_create_link(struct net *net, const char *ifname, unsigned char name_assign_type, const struct rtnl_link_ops *ops, struct nlattr *tb[]); +int rtnl_delete_link(struct net_device *dev); int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm); int rtnl_nla_parse_ifla(struct nlattr **tb, const struct nlattr *head, int len); |