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)
commit69976fb1045850a742deb9790ea49cbc6f497531
tree3cd31f8664188013779600bc40f6db74d9228759
parent5f8a02a441b861fd3b1b5135a1a6e1c13ee4bb33
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: b3f63c3d5e2c ('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
This page took 0.026755 seconds and 5 git commands to generate.