Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[cascardo/linux.git] / drivers / net / ethernet / mellanox / mlx4 / Kconfig
1 #
2 # Mellanox driver configuration
3 #
4
5 config MLX4_EN
6         tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
7         depends on MAY_USE_DEVLINK
8         depends on PCI
9         select MLX4_CORE
10         select PTP_1588_CLOCK
11         ---help---
12           This driver supports Mellanox Technologies ConnectX Ethernet
13           devices.
14
15 config MLX4_EN_DCB
16         bool "Data Center Bridging (DCB) Support"
17         default y
18         depends on MLX4_EN && DCB
19         ---help---
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
27 config MLX4_EN_VXLAN
28         bool "VXLAN offloads Support"
29         default y
30         depends on MLX4_EN && VXLAN && !(MLX4_EN=y && VXLAN=m)
31         ---help---
32           Say Y here if you want to use VXLAN offloads in the driver.
33
34 config MLX4_CORE
35         tristate
36         depends on PCI
37         default n
38
39 config MLX4_DEBUG
40         bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
41         depends on MLX4_CORE
42         default y
43         ---help---
44           This option causes debugging code to be compiled into the
45           mlx4_core driver.  The output can be turned on via the
46           debug_level module parameter (which can also be set after
47           the driver is loaded through sysfs).