mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 23:35:26 +07:00
a1b8714593
Since Mellanox focus is on newer adapters, we would like to have the ability to disable the support for old gen2 adapters. This can be done by turning off the MLX4_CORE_GEN2 Kconfig flag. We keep it turned on by default. Signed-off-by: Slava Shwartsman <slavash@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
#
|
|
# Mellanox driver configuration
|
|
#
|
|
|
|
config MLX4_EN
|
|
tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
|
|
depends on MAY_USE_DEVLINK
|
|
depends on PCI
|
|
select MLX4_CORE
|
|
imply PTP_1588_CLOCK
|
|
---help---
|
|
This driver supports Mellanox Technologies ConnectX Ethernet
|
|
devices.
|
|
|
|
config MLX4_EN_DCB
|
|
bool "Data Center Bridging (DCB) Support"
|
|
default y
|
|
depends on MLX4_EN && DCB
|
|
---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.
|
|
This flag is depended on the kernel's DCB support.
|
|
|
|
If unsure, set to Y
|
|
|
|
config MLX4_CORE
|
|
tristate
|
|
depends on PCI
|
|
default n
|
|
|
|
config MLX4_DEBUG
|
|
bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
|
|
depends on MLX4_CORE
|
|
default y
|
|
---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.
|