51 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Mellanox driver configuration4#5 6config MLX4_EN7 tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"8 depends on PCI && NETDEVICES && ETHERNET && INET9 depends on PTP_1588_CLOCK_OPTIONAL10 select MLX4_CORE11 help12 This driver supports Mellanox Technologies ConnectX Ethernet13 devices.14 15config MLX4_EN_DCB16 bool "Data Center Bridging (DCB) Support"17 default y18 depends on MLX4_EN && DCB19 help20 Say Y here if you want to use Data Center Bridging (DCB) in the21 driver.22 If set to N, will not be able to configure QoS and ratelimit attributes.23 This flag is depended on the kernel's DCB support.24 25 If unsure, set to Y26 27config MLX4_CORE28 tristate29 depends on PCI30 select AUXILIARY_BUS31 select NET_DEVLINK32 default n33 34config MLX4_DEBUG35 bool "Verbose debugging output" if (MLX4_CORE && EXPERT)36 depends on MLX4_CORE37 default y38 help39 This option causes debugging code to be compiled into the40 mlx4_core driver. The output can be turned on via the41 debug_level module parameter (which can also be set after42 the driver is loaded through sysfs).43 44config MLX4_CORE_GEN245 bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE)46 depends on MLX4_CORE47 default y48 help49 Say Y here if you want to use old gen2 Mellanox devices in the50 driver.51