]> git.baikalelectronics.ru Git - kernel.git/commit
mlx5e: add CONFIG_INET dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2017 11:27:49 +0000 (13:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 19:48:01 +0000 (15:48 -0400)
commit2d2c7c1293e20dcf7c94d9e05c39163446eed262
tree978c6fcb131020d54a693d1a6294020b278e5b28
parentc1797c172650a2e4af86e755190109599f5b66fd
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: ccf500f6d873 ("net/mlx5e: Add support to neighbour update flow")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig