blob: 5098e7f21987c85bd82ce0c68403893290b7c706 [file] [log] [blame]
Jeff Kirsher5a2cc192011-05-13 01:32:22 -07001#
2# Mellanox driver configuration
3#
4
5config MLX4_EN
Eyal Perry97172182014-03-02 10:25:05 +02006 tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
Arnd Bergmann3d1cbe82016-03-02 10:40:54 +01007 depends on MAY_USE_DEVLINK
Ben Hutchingsf1d29a32012-11-16 12:44:56 +00008 depends on PCI
Jeff Kirsher5a2cc192011-05-13 01:32:22 -07009 select MLX4_CORE
Shawn Bohrer74b9c3e2014-01-07 12:49:17 -060010 select PTP_1588_CLOCK
Jeff Kirsher5a2cc192011-05-13 01:32:22 -070011 ---help---
12 This driver supports Mellanox Technologies ConnectX Ethernet
13 devices.
14
Amir Vadai564c2742012-04-04 21:33:26 +000015config MLX4_EN_DCB
16 bool "Data Center Bridging (DCB) Support"
17 default y
18 depends on MLX4_EN && DCB
19 ---help---
20 Say Y here if you want to use Data Center Bridging (DCB) in the
21 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 Y
26
Jeff Kirsher5a2cc192011-05-13 01:32:22 -070027config MLX4_CORE
28 tristate
29 depends on PCI
30 default n
31
32config MLX4_DEBUG
33 bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
34 depends on MLX4_CORE
35 default y
36 ---help---
37 This option causes debugging code to be compiled into the
38 mlx4_core driver. The output can be turned on via the
39 debug_level module parameter (which can also be set after
40 the driver is loaded through sysfs).