]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Add VXLAN dependency for spectrum
authorIdo Schimmel <idosch@mellanox.com>
Tue, 8 Jan 2019 16:48:06 +0000 (16:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jan 2019 21:53:54 +0000 (16:53 -0500)
commitb1dc1fae0248c0c920e15cf54e553d575b260224
tree025bec64f3228a81aade1a7265ea178dde326061
parent6f2d3e1eb64a20c7aa9cc0ad6b8f20a33bcdc4c2
mlxsw: spectrum: Add VXLAN dependency for spectrum

When VXLAN is a loadable module, MLXSW_SPECTRUM must not be built-in:

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:2547: undefined
reference to `vxlan_fdb_find_uc'

Add Kconfig dependency to enforce usable configurations.

Fixes: 1b57102bdc8f ("mlxsw: spectrum_switchdev: Add support for VxLAN encapsulation")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: kbuild test robot <lkp@intel.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/Kconfig