]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Kconfig: Fix MLX5_EN/VXLAN build issue
authorMatthew Finlay <matt@mellanox.com>
Sun, 1 May 2016 19:59:55 +0000 (22:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 17:37:26 +0000 (13:37 -0400)
commit82fddab012bba6f20af8db0441c68c2a31f77ade
tree3cd31f8664188013779600bc40f6db74d9228759
parent652fb0d450221a42e2fd287afa2c230737a08c6c
net/mlx5: Kconfig: Fix MLX5_EN/VXLAN build issue

When MLX5_EN=y MLX5_CORE=y and VXLAN=m there is a linker error for
vxlan_get_rx_port() due to the fact that VXLAN is a module. Change Kconfig
to select VXLAN when MLX5_CORE=y. When MLX5_CORE=m there is no dependency
on the value of VXLAN.

Fixes: 4956da906c0d ('net/mlx5e: Add netdev support for VXLAN tunneling')
Signed-off-by: Matthew Finlay <matt@mellanox.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig