summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/Kconfig
blob: 8491db57b0b0c28fb6db1ac58ce090652ddce9f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Mellanox driver configuration
#

config MLX4_EN
	tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
	depends on PCI && NETDEVICES && ETHERNET && INET
	select MLX4_CORE
	imply PTP_1588_CLOCK
	---help---
	  This driver supports Mellanox Technologies ConnectX Ethernet
	  devices.

config MLX4_EN_DCB
	bool "Data Center Bridging (DCB) Support"
	default y
	depends on MLX4_EN && DCB
	---help---
	  Say Y here if you want to use Data Center Bridging (DCB) in the
	  driver.
	  If set to N, will not be able to configure QoS and ratelimit attributes.
	  This flag is depended on the kernel's DCB support.

	  If unsure, set to Y

config MLX4_CORE
	tristate
	depends on PCI
	select NET_DEVLINK
	default n

config MLX4_DEBUG
	bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
	depends on MLX4_CORE
	default y
	---help---
	  This option causes debugging code to be compiled into the
	  mlx4_core driver.  The output can be turned on via the
	  debug_level module parameter (which can also be set after
	  the driver is loaded through sysfs).

config MLX4_CORE_GEN2
	bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE)
	depends on MLX4_CORE
	default y
	---help---
	  Say Y here if you want to use old gen2 Mellanox devices in the
	  driver.