Commit f6b19b35 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

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: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b8f97554
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -505,6 +505,7 @@ source "drivers/net/hyperv/Kconfig"
config NETDEVSIM
	tristate "Simulated networking device"
	depends on DEBUG_FS
	select NET_DEVLINK
	help
	  This driver is a developer testing tool and software model that can
	  be used to test various control path networking APIs, especially
+1 −0
Original line number Diff line number Diff line
@@ -196,6 +196,7 @@ config BNXT
	depends on PCI
	select FW_LOADER
	select LIBCRC32C
	select NET_DEVLINK
	---help---
	  This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
	  Ethernet cards.  To compile this driver as a module, choose M here:
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ config LIQUIDIO
	imply PTP_1588_CLOCK
	select FW_LOADER
	select LIBCRC32C
	select NET_DEVLINK
	---help---
	  This driver supports Cavium LiquidIO Intelligent Server Adapters
	  based on CN66XX, CN68XX and CN23XX chips.
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ config MLX4_EN_DCB
config MLX4_CORE
	tristate
	depends on PCI
	select NET_DEVLINK
	default n

config MLX4_DEBUG
+1 −0
Original line number Diff line number Diff line
@@ -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
Loading