1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 25a2cc190SJeff Kirsher# 35a2cc190SJeff Kirsher# Mellanox driver configuration 45a2cc190SJeff Kirsher# 55a2cc190SJeff Kirsher 65a2cc190SJeff Kirsherconfig MLX4_EN 79717218bSEyal Perry tristate "Mellanox Technologies 1/10/40Gbit Ethernet support" 81b603f9eSSaeed Mahameed depends on PCI && NETDEVICES && ETHERNET && INET 9e5f31552SArnd Bergmann depends on PTP_1588_CLOCK_OPTIONAL 10*d3210dabSGreg Thelen select PAGE_POOL 115a2cc190SJeff Kirsher select MLX4_CORE 12a7f7f624SMasahiro Yamada help 135a2cc190SJeff Kirsher This driver supports Mellanox Technologies ConnectX Ethernet 145a2cc190SJeff Kirsher devices. 155a2cc190SJeff Kirsher 16564c274cSAmir Vadaiconfig MLX4_EN_DCB 17564c274cSAmir Vadai bool "Data Center Bridging (DCB) Support" 18564c274cSAmir Vadai default y 19564c274cSAmir Vadai depends on MLX4_EN && DCB 20a7f7f624SMasahiro Yamada help 21564c274cSAmir Vadai Say Y here if you want to use Data Center Bridging (DCB) in the 22564c274cSAmir Vadai driver. 23564c274cSAmir Vadai If set to N, will not be able to configure QoS and ratelimit attributes. 24564c274cSAmir Vadai This flag is depended on the kernel's DCB support. 25564c274cSAmir Vadai 26564c274cSAmir Vadai If unsure, set to Y 27564c274cSAmir Vadai 285a2cc190SJeff Kirsherconfig MLX4_CORE 295a2cc190SJeff Kirsher tristate 305a2cc190SJeff Kirsher depends on PCI 318c2d2b87SPetr Pavlu select AUXILIARY_BUS 32f6b19b35SJiri Pirko select NET_DEVLINK 335a2cc190SJeff Kirsher default n 345a2cc190SJeff Kirsher 355a2cc190SJeff Kirsherconfig MLX4_DEBUG 365a2cc190SJeff Kirsher bool "Verbose debugging output" if (MLX4_CORE && EXPERT) 375a2cc190SJeff Kirsher depends on MLX4_CORE 385a2cc190SJeff Kirsher default y 39a7f7f624SMasahiro Yamada help 405a2cc190SJeff Kirsher This option causes debugging code to be compiled into the 415a2cc190SJeff Kirsher mlx4_core driver. The output can be turned on via the 425a2cc190SJeff Kirsher debug_level module parameter (which can also be set after 435a2cc190SJeff Kirsher the driver is loaded through sysfs). 44a1b87145SSlava Shwartsman 45a1b87145SSlava Shwartsmanconfig MLX4_CORE_GEN2 46a1b87145SSlava Shwartsman bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE) 47a1b87145SSlava Shwartsman depends on MLX4_CORE 48a1b87145SSlava Shwartsman default y 49a7f7f624SMasahiro Yamada help 50a1b87145SSlava Shwartsman Say Y here if you want to use old gen2 Mellanox devices in the 51a1b87145SSlava Shwartsman driver. 52