diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-30 22:05:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-02 17:55:57 +0100 |
commit | d709b2a186761bc038c99c2f744c7218f2d249bd (patch) | |
tree | 8052df8e2f2942ffbef5f2b75af3c53e3239bcc0 /drivers/net/ethernet/packetengines/Makefile | |
parent | bpf, xdp: drop rcu_read_lock from bpf_prog_run_xdp and move to caller (diff) | |
download | linux-d709b2a186761bc038c99c2f744c7218f2d249bd.tar.xz linux-d709b2a186761bc038c99c2f744c7218f2d249bd.zip |
net/mlx5e: skip loopback selftest with !CONFIG_INET
When CONFIG_INET is disabled, the new selftest results in a link
error:
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o: In function `mlx5e_test_loopback':
en_selftest.c:(.text.mlx5e_test_loopback+0x2ec): undefined reference to `ip_send_check'
en_selftest.c:(.text.mlx5e_test_loopback+0x34c): undefined reference to `udp4_hwcsum'
This hides the specific test in that configuration.
Fixes: 0952da791c97 ("net/mlx5e: Add support for loopback selftest")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/packetengines/Makefile')
0 files changed, 0 insertions, 0 deletions