1#
2# Mellanox driver configuration
3#
4
5config MLX4_EN
6	tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
7	depends on PCI && NETDEVICES && ETHERNET && INET
8	select MLX4_CORE
9	imply PTP_1588_CLOCK
10	---help---
11	  This driver supports Mellanox Technologies ConnectX Ethernet
12	  devices.
13
14config MLX4_EN_DCB
15	bool "Data Center Bridging (DCB) Support"
16	default y
17	depends on MLX4_EN && DCB
18	---help---
19	  Say Y here if you want to use Data Center Bridging (DCB) in the
20	  driver.
21	  If set to N, will not be able to configure QoS and ratelimit attributes.
22	  This flag is depended on the kernel's DCB support.
23
24	  If unsure, set to Y
25
26config MLX4_CORE
27	tristate
28	depends on PCI
29	default n
30
31config MLX4_DEBUG
32	bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
33	depends on MLX4_CORE
34	default y
35	---help---
36	  This option causes debugging code to be compiled into the
37	  mlx4_core driver.  The output can be turned on via the
38	  debug_level module parameter (which can also be set after
39	  the driver is loaded through sysfs).
40
41config MLX4_CORE_GEN2
42	bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE)
43	depends on MLX4_CORE
44	default y
45	---help---
46	  Say Y here if you want to use old gen2 Mellanox devices in the
47	  driver.
48