summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko2019-03-24 11:14:38 +0100
committerDavid S. Miller2019-03-24 19:55:31 +0100
commitf6b19b354d50c5ae46ad66b5273f92e563fbc847 (patch)
treec9cc13c6679fa1eeb7a08ff255bbedd7007e94bb /drivers/net/ethernet/mellanox/mlx5/core/Kconfig
parentnet: devlink: add port type spinlock (diff)
downloadkernel-qcow2-linux-f6b19b354d50c5ae46ad66b5273f92e563fbc847.tar.gz
kernel-qcow2-linux-f6b19b354d50c5ae46ad66b5273f92e563fbc847.tar.xz
kernel-qcow2-linux-f6b19b354d50c5ae46ad66b5273f92e563fbc847.zip
net: devlink: select NET_DEVLINK from drivers
Some drivers are becoming more dependent on NET_DEVLINK being selected in configuration. With upcoming compat functions, the behavior would be wrong in case devlink was not compiled in. So make the drivers select NET_DEVLINK and rely on the functions being there, not just stubs. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/Kconfig')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
index 6debffb8336b..9aca8086ee01 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
+++ b/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
@@ -5,6 +5,7 @@
config MLX5_CORE
tristate "Mellanox 5th generation network adapters (ConnectX series) core driver"
depends on PCI
+ select NET_DEVLINK
imply PTP_1588_CLOCK
imply VXLAN
default n