fm10k: Add CONFIG_FM10K_VXLAN configuration option
authorAndy Zhou <azhou@nicira.com>
Sat, 4 Oct 2014 06:19:11 +0000 (06:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 16 Oct 2014 09:03:39 +0000 (02:03 -0700)
commitf6b03c10a1b3f2c98ed23813997cdebef8aabeba
treec9e12e5611b0fdbc53d0c08c0698491d5ab2734f
parent13cb2dad45cc8c8e350abc84de38449b89629c3c
fm10k: Add CONFIG_FM10K_VXLAN configuration option

Compiling with CONFIG_FM10K=y and VXLAN=m resulting in linking error:

   drivers/built-in.o: In function `fm10k_open':
   (.text+0x1f9d7a): undefined reference to `vxlan_get_rx_port'
   make: *** [vmlinux] Error 1

The fix follows the same strategy as I40E.

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/Kconfig
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c