15a2cc190SJeff Kirsher#
25a2cc190SJeff Kirsher# Mellanox driver configuration
35a2cc190SJeff Kirsher#
45a2cc190SJeff Kirsher
55a2cc190SJeff Kirsherconfig MLX4_EN
65a2cc190SJeff Kirsher	tristate "Mellanox Technologies 10Gbit Ethernet support"
75a2cc190SJeff Kirsher	depends on PCI && INET
85a2cc190SJeff Kirsher	select MLX4_CORE
95a2cc190SJeff Kirsher	select INET_LRO
105a2cc190SJeff Kirsher	---help---
115a2cc190SJeff Kirsher	  This driver supports Mellanox Technologies ConnectX Ethernet
125a2cc190SJeff Kirsher	  devices.
135a2cc190SJeff Kirsher
14564c274cSAmir Vadaiconfig MLX4_EN_DCB
15564c274cSAmir Vadai	bool "Data Center Bridging (DCB) Support"
16564c274cSAmir Vadai	default y
17564c274cSAmir Vadai	depends on MLX4_EN && DCB
18564c274cSAmir Vadai	---help---
19564c274cSAmir Vadai	  Say Y here if you want to use Data Center Bridging (DCB) in the
20564c274cSAmir Vadai	  driver.
21564c274cSAmir Vadai	  If set to N, will not be able to configure QoS and ratelimit attributes.
22564c274cSAmir Vadai	  This flag is depended on the kernel's DCB support.
23564c274cSAmir Vadai
24564c274cSAmir Vadai	  If unsure, set to Y
25564c274cSAmir Vadai
265a2cc190SJeff Kirsherconfig MLX4_CORE
275a2cc190SJeff Kirsher	tristate
285a2cc190SJeff Kirsher	depends on PCI
295a2cc190SJeff Kirsher	default n
305a2cc190SJeff Kirsher
315a2cc190SJeff Kirsherconfig MLX4_DEBUG
325a2cc190SJeff Kirsher	bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
335a2cc190SJeff Kirsher	depends on MLX4_CORE
345a2cc190SJeff Kirsher	default y
355a2cc190SJeff Kirsher	---help---
365a2cc190SJeff Kirsher	  This option causes debugging code to be compiled into the
375a2cc190SJeff Kirsher	  mlx4_core driver.  The output can be turned on via the
385a2cc190SJeff Kirsher	  debug_level module parameter (which can also be set after
395a2cc190SJeff Kirsher	  the driver is loaded through sysfs).
40