You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
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>
This commit is contained in:
committed by
David S. Miller
parent
b8f975545c
commit
f6b19b354d
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -26,6 +26,7 @@ config MLX4_EN_DCB
|
||||
config MLX4_CORE
|
||||
tristate
|
||||
depends on PCI
|
||||
select NET_DEVLINK
|
||||
default n
|
||||
|
||||
config MLX4_DEBUG
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
config MLXSW_CORE
|
||||
tristate "Mellanox Technologies Switch ASICs support"
|
||||
select NET_DEVLINK
|
||||
---help---
|
||||
This driver supports Mellanox Technologies Switch ASICs family.
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ config NFP
|
||||
tristate "Netronome(R) NFP4000/NFP6000 NIC driver"
|
||||
depends on PCI && PCI_MSI
|
||||
depends on VXLAN || VXLAN=n
|
||||
select NET_DEVLINK
|
||||
---help---
|
||||
This driver supports the Netronome(R) NFP4000/NFP6000 based
|
||||
cards working as a advanced Ethernet NIC. It works with both
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -429,11 +429,8 @@ config NET_SOCK_MSG
|
||||
with the help of BPF programs.
|
||||
|
||||
config NET_DEVLINK
|
||||
bool "Network physical/parent device Netlink interface"
|
||||
help
|
||||
Network physical/parent device Netlink interface provides
|
||||
infrastructure to support access to physical chip-wide config and
|
||||
monitoring.
|
||||
bool
|
||||
default n
|
||||
|
||||
config PAGE_POOL
|
||||
bool
|
||||
|
||||
@@ -10,6 +10,7 @@ config NET_DSA
|
||||
depends on BRIDGE || BRIDGE=n
|
||||
select NET_SWITCHDEV
|
||||
select PHYLINK
|
||||
select NET_DEVLINK
|
||||
---help---
|
||||
Say Y if you want to enable support for the hardware switches supported
|
||||
by the Distributed Switch Architecture.
|
||||
|
||||
Reference in New Issue
Block a user