18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Mellanox driver configuration 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciconfig MLX4_EN 78c2ecf20Sopenharmony_ci tristate "Mellanox Technologies 1/10/40Gbit Ethernet support" 88c2ecf20Sopenharmony_ci depends on PCI && NETDEVICES && ETHERNET && INET 98c2ecf20Sopenharmony_ci select MLX4_CORE 108c2ecf20Sopenharmony_ci imply PTP_1588_CLOCK 118c2ecf20Sopenharmony_ci help 128c2ecf20Sopenharmony_ci This driver supports Mellanox Technologies ConnectX Ethernet 138c2ecf20Sopenharmony_ci devices. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciconfig MLX4_EN_DCB 168c2ecf20Sopenharmony_ci bool "Data Center Bridging (DCB) Support" 178c2ecf20Sopenharmony_ci default y 188c2ecf20Sopenharmony_ci depends on MLX4_EN && DCB 198c2ecf20Sopenharmony_ci help 208c2ecf20Sopenharmony_ci Say Y here if you want to use Data Center Bridging (DCB) in the 218c2ecf20Sopenharmony_ci driver. 228c2ecf20Sopenharmony_ci If set to N, will not be able to configure QoS and ratelimit attributes. 238c2ecf20Sopenharmony_ci This flag is depended on the kernel's DCB support. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci If unsure, set to Y 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ciconfig MLX4_CORE 288c2ecf20Sopenharmony_ci tristate 298c2ecf20Sopenharmony_ci depends on PCI 308c2ecf20Sopenharmony_ci select NET_DEVLINK 318c2ecf20Sopenharmony_ci default n 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciconfig MLX4_DEBUG 348c2ecf20Sopenharmony_ci bool "Verbose debugging output" if (MLX4_CORE && EXPERT) 358c2ecf20Sopenharmony_ci depends on MLX4_CORE 368c2ecf20Sopenharmony_ci default y 378c2ecf20Sopenharmony_ci help 388c2ecf20Sopenharmony_ci This option causes debugging code to be compiled into the 398c2ecf20Sopenharmony_ci mlx4_core driver. The output can be turned on via the 408c2ecf20Sopenharmony_ci debug_level module parameter (which can also be set after 418c2ecf20Sopenharmony_ci the driver is loaded through sysfs). 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ciconfig MLX4_CORE_GEN2 448c2ecf20Sopenharmony_ci bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE) 458c2ecf20Sopenharmony_ci depends on MLX4_CORE 468c2ecf20Sopenharmony_ci default y 478c2ecf20Sopenharmony_ci help 488c2ecf20Sopenharmony_ci Say Y here if you want to use old gen2 Mellanox devices in the 498c2ecf20Sopenharmony_ci driver. 50