mlx5e: add CONFIG_INET dependency
Subsystems (4)
PATCH 1/1 mlx5e: add CONFIG_INET dependency
We now reference the arp_tbl, which requires IPv4 support to be enabled in the kernel, otherwise we get a link error:
drivers/net/built-in.o: In function `mlx5e_tc_update_neigh_used_value':
(.text+0x16afec): undefined reference to arp_tbl' drivers/net/built-in.o: In function mlx5e_rep_neigh_init':
en_rep.c:(.text+0x16c16d): undefined reference to arp_tbl' drivers/net/built-in.o: In function mlx5e_rep_netevent_event':
en_rep.c:(.text+0x16cbb5): undefined reference to `arp_tbl'
This adds a Kconfig dependency for it.
---
Note: the mlxsw driver has referenced the same symbol for a while, but had an implicit dependency on CONFIG_INET since it also depends on SWITCHDEV.
drivers/net/ethernet/mellanox/mlx5/core/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlx5/core/Kconfig +1 -1
@@ -13,7 +13,7 @@ config MLX5_CORE config MLX5_CORE_EN bool "Mellanox Technologies ConnectX-4 Ethernet support" - depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE + depends on NETDEVICES && ETHERNET && INET && PCI && MLX5_CORE depends on IPV6=y || IPV6=n || MLX5_CORE=m imply PTP_1588_CLOCK default n
Signature · 6 lines
2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
maintainerFrom: Arnd Bergmann <[email protected]>
Date: Tue, 16 May 2017 13:27:49 +0200
Quoted 10 lines
We now reference the
arp_tbl, which requires IPv4 support to be enabled in the kernel, otherwise we get a link error:
drivers/net/built-in.o: In function `mlx5e_tc_update_neigh_used_value':
(.text+0x16afec): undefined reference toarp_tbl' drivers/net/built-in.o: In functionmlx5e_rep_neigh_init':
en_rep.c:(.text+0x16c16d): undefined reference toarp_tbl' drivers/net/built-in.o: In functionmlx5e_rep_netevent_event':
en_rep.c:(.text+0x16cbb5): undefined reference to `arp_tbl'
Quoted 4 lines
This adds a
Kconfigdependency for it.Fixes 232c001398ae ("net/mlx5e: Add support to neighbour update flow")Signed-off-by Arnd Bergmann <[email protected]>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html