openvswitch: Re-add CONFIG_OPENVSWITCH_VXLAN
authorThomas Graf <tgraf@suug.ch>
Wed, 29 Jul 2015 11:52:06 +0000 (13:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:03:10 +0000 (23:03 -0700)
commitdcc38c033b32b81b88b798f0c0b8453839ac996b
tree21db1c580a5c2e8b034ac185a27bad7af14a76fa
parent1ce4b2f44df74bac91ff5ddcbf903572577005bc
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>
net/openvswitch/Kconfig
net/openvswitch/Makefile
net/openvswitch/vport-netdev.c
net/openvswitch/vport-netdev.h
net/openvswitch/vport-vxlan.c [new file with mode: 0644]