Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
5a2cc190 JK |
2 | # |
3 | # Mellanox driver configuration | |
4 | # | |
5 | ||
6 | config MLX4_EN | |
9717218b | 7 | tristate "Mellanox Technologies 1/10/40Gbit Ethernet support" |
1b603f9e | 8 | depends on PCI && NETDEVICES && ETHERNET && INET |
e5f31552 | 9 | depends on PTP_1588_CLOCK_OPTIONAL |
5a2cc190 | 10 | select MLX4_CORE |
a7f7f624 | 11 | help |
5a2cc190 JK |
12 | This driver supports Mellanox Technologies ConnectX Ethernet |
13 | devices. | |
14 | ||
564c274c AV |
15 | config MLX4_EN_DCB |
16 | bool "Data Center Bridging (DCB) Support" | |
17 | default y | |
18 | depends on MLX4_EN && DCB | |
a7f7f624 | 19 | help |
564c274c AV |
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 | ||
5a2cc190 JK |
27 | config MLX4_CORE |
28 | tristate | |
29 | depends on PCI | |
f6b19b35 | 30 | select NET_DEVLINK |
5a2cc190 JK |
31 | default n |
32 | ||
33 | config MLX4_DEBUG | |
34 | bool "Verbose debugging output" if (MLX4_CORE && EXPERT) | |
35 | depends on MLX4_CORE | |
36 | default y | |
a7f7f624 | 37 | help |
5a2cc190 JK |
38 | This option causes debugging code to be compiled into the |
39 | mlx4_core driver. The output can be turned on via the | |
40 | debug_level module parameter (which can also be set after | |
41 | the driver is loaded through sysfs). | |
a1b87145 SS |
42 | |
43 | config MLX4_CORE_GEN2 | |
44 | bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE) | |
45 | depends on MLX4_CORE | |
46 | default y | |
a7f7f624 | 47 | help |
a1b87145 SS |
48 | Say Y here if you want to use old gen2 Mellanox devices in the |
49 | driver. |