Skip to content

Commit 2432a3f

Browse files
arndbdavem330
authored andcommitted
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. Fixes: 232c001 ("net/mlx5e: Add support to neighbour update flow") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f6c5775 commit 2432a3f

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config MLX5_CORE
1313

1414
config MLX5_CORE_EN
1515
bool "Mellanox Technologies ConnectX-4 Ethernet support"
16-
depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE
16+
depends on NETDEVICES && ETHERNET && INET && PCI && MLX5_CORE
1717
depends on IPV6=y || IPV6=n || MLX5_CORE=m
1818
imply PTP_1588_CLOCK
1919
default n

0 commit comments

Comments
 (0)