diff options
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/Kconfig')
| -rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/Kconfig | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/Kconfig b/drivers/net/ethernet/mellanox/mlx4/Kconfig index eb520ab64014..0b1cb340206f 100644 --- a/drivers/net/ethernet/mellanox/mlx4/Kconfig +++ b/drivers/net/ethernet/mellanox/mlx4/Kconfig @@ -1,12 +1,15 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Mellanox driver configuration # config MLX4_EN - tristate "Mellanox Technologies 10Gbit Ethernet support" - depends on PCI + tristate "Mellanox Technologies 1/10/40Gbit Ethernet support" + depends on PCI && NETDEVICES && ETHERNET && INET + depends on PTP_1588_CLOCK_OPTIONAL + select PAGE_POOL select MLX4_CORE - ---help--- + help This driver supports Mellanox Technologies ConnectX Ethernet devices. @@ -14,7 +17,7 @@ config MLX4_EN_DCB bool "Data Center Bridging (DCB) Support" default y depends on MLX4_EN && DCB - ---help--- + help Say Y here if you want to use Data Center Bridging (DCB) in the driver. If set to N, will not be able to configure QoS and ratelimit attributes. @@ -25,14 +28,24 @@ config MLX4_EN_DCB config MLX4_CORE tristate depends on PCI + select AUXILIARY_BUS + select NET_DEVLINK default n config MLX4_DEBUG bool "Verbose debugging output" if (MLX4_CORE && EXPERT) depends on MLX4_CORE default y - ---help--- + help This option causes debugging code to be compiled into the mlx4_core driver. The output can be turned on via the debug_level module parameter (which can also be set after the driver is loaded through sysfs). + +config MLX4_CORE_GEN2 + bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE) + depends on MLX4_CORE + default y + help + Say Y here if you want to use old gen2 Mellanox devices in the + driver. |
