]> www.infradead.org Git - users/jedix/linux-maple.git/commit
openvswitch: Use regular VXLAN net_device device
authorVenkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Mon, 10 Jun 2019 01:53:13 +0000 (18:53 -0700)
committerBrian Maly <brian.maly@oracle.com>
Wed, 12 Jun 2019 15:15:25 +0000 (11:15 -0400)
commitf727259c4519b56f8d9293ae73d13b687274854f
tree137120847a2cb40140e17e3ca7ba4d76bf05e5e6
parent5616e601f439bc6abd30f6ff0e2b4654abd0a8e7
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.

Orabug: 29755932

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>
(cherry picked from commit 614732eaa12dd462c0ab274700bed14f36afea5e)

Reviewed-by: Rama Nichanamatlu <rama.nichanamatlu@oracle.com>
Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
drivers/net/vxlan.c

Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/vxlan.c
include/net/rtnetlink.h
include/net/vxlan.h
net/core/rtnetlink.c
net/openvswitch/Kconfig
net/openvswitch/Makefile
net/openvswitch/flow_netlink.c
net/openvswitch/vport-netdev.c
net/openvswitch/vport-vxlan.c [deleted file]
net/openvswitch/vport-vxlan.h [deleted file]