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: 614732ea ("openvswitch: Use regular VXLAN net_device device") Fixes: 2661371a ("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>
Showing
- net/openvswitch/Kconfig 12 additions, 1 deletionnet/openvswitch/Kconfig
- net/openvswitch/Makefile 1 addition, 0 deletionsnet/openvswitch/Makefile
- net/openvswitch/vport-netdev.c 12 additions, 199 deletionsnet/openvswitch/vport-netdev.c
- net/openvswitch/vport-netdev.h 3 additions, 0 deletionsnet/openvswitch/vport-netdev.h
- net/openvswitch/vport-vxlan.c 207 additions, 0 deletionsnet/openvswitch/vport-vxlan.c
Please register or sign in to comment