[PATCH] bnxt_en: add VXLAN dependency

David Miller davem at davemloft.net
Wed Nov 4 21:00:41 PST 2015

From: Arnd Bergmann <arnd at arndb.de>
Date: Wed, 04 Nov 2015 16:00:32 +0100

> VXLAN may be a loadable module, and this driver cannot be built-in
> in that case, or we get a link error:
> drivers/built-in.o: In function `__bnxt_open_nic':
> drivers/net/ethernet/broadcom/bnxt/bnxt.c:4581: undefined reference to `vxlan_get_rx_port'
> This adds a Kconfig dependency that ensures that either VXLAN is
> disabled (which the driver handles correctly), or we depend on
> VXLAN itself and disallow built-in compilation when VXLAN is
> a module.
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")

Applied, thanks.

More information about the linux-arm-kernel mailing list