15a2cc190SJeff Kirsher#
25a2cc190SJeff Kirsher# Mellanox driver configuration
35a2cc190SJeff Kirsher#
45a2cc190SJeff Kirsher
55a2cc190SJeff Kirsherconfig MLX4_EN
69717218bSEyal Perry	tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
73d1cbe83SArnd Bergmann	depends on MAY_USE_DEVLINK
8f1d29a3fSBen Hutchings	depends on PCI
95a2cc190SJeff Kirsher	select MLX4_CORE
1074b9c3eaSShawn Bohrer	select PTP_1588_CLOCK
115a2cc190SJeff Kirsher	---help---
125a2cc190SJeff Kirsher	  This driver supports Mellanox Technologies ConnectX Ethernet
135a2cc190SJeff Kirsher	  devices.
145a2cc190SJeff Kirsher
15564c274cSAmir Vadaiconfig MLX4_EN_DCB
16564c274cSAmir Vadai	bool "Data Center Bridging (DCB) Support"
17564c274cSAmir Vadai	default y
18564c274cSAmir Vadai	depends on MLX4_EN && DCB
19564c274cSAmir Vadai	---help---
20564c274cSAmir Vadai	  Say Y here if you want to use Data Center Bridging (DCB) in the
21564c274cSAmir Vadai	  driver.
22564c274cSAmir Vadai	  If set to N, will not be able to configure QoS and ratelimit attributes.
23564c274cSAmir Vadai	  This flag is depended on the kernel's DCB support.
24564c274cSAmir Vadai
25564c274cSAmir Vadai	  If unsure, set to Y
26564c274cSAmir Vadai
27a66132f3SOr Gerlitzconfig MLX4_EN_VXLAN
28a66132f3SOr Gerlitz	bool "VXLAN offloads Support"
29a66132f3SOr Gerlitz	default y
30a66132f3SOr Gerlitz	depends on MLX4_EN && VXLAN && !(MLX4_EN=y && VXLAN=m)
31a66132f3SOr Gerlitz	---help---
32a66132f3SOr Gerlitz	  Say Y here if you want to use VXLAN offloads in the driver.
33a66132f3SOr Gerlitz
345a2cc190SJeff Kirsherconfig MLX4_CORE
355a2cc190SJeff Kirsher	tristate
365a2cc190SJeff Kirsher	depends on PCI
375a2cc190SJeff Kirsher	default n
385a2cc190SJeff Kirsher
395a2cc190SJeff Kirsherconfig MLX4_DEBUG
405a2cc190SJeff Kirsher	bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
415a2cc190SJeff Kirsher	depends on MLX4_CORE
425a2cc190SJeff Kirsher	default y
435a2cc190SJeff Kirsher	---help---
445a2cc190SJeff Kirsher	  This option causes debugging code to be compiled into the
455a2cc190SJeff Kirsher	  mlx4_core driver.  The output can be turned on via the
465a2cc190SJeff Kirsher	  debug_level module parameter (which can also be set after
475a2cc190SJeff Kirsher	  the driver is loaded through sysfs).
48