xref: /linux/drivers/net/ethernet/mellanox/mlx4/Kconfig (revision cebeb0f1885fa93c44be5d4e0b9b640210ff088c)
1#
2# Mellanox driver configuration
3#
4
5config MLX4_EN
6	tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
7	depends on PCI
8	select MLX4_CORE
9	select 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_EN_VXLAN
27	bool "VXLAN offloads Support"
28	default y
29	depends on MLX4_EN && VXLAN && !(MLX4_EN=y && VXLAN=m)
30	---help---
31	  Say Y here if you want to use VXLAN offloads in the driver.
32
33config MLX4_CORE
34	tristate
35	depends on PCI
36	default n
37
38config MLX4_DEBUG
39	bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
40	depends on MLX4_CORE
41	default y
42	---help---
43	  This option causes debugging code to be compiled into the
44	  mlx4_core driver.  The output can be turned on via the
45	  debug_level module parameter (which can also be set after
46	  the driver is loaded through sysfs).
47