net/mlx4_core: Fix smatch error - possible access to a null variable
[deliverable/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 PCI
8 select MLX4_CORE
9 select PTP_1588_CLOCK
10 ---help---
11 This driver supports Mellanox Technologies ConnectX Ethernet
12 devices.
13
14 config 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
26 config 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
33 config MLX4_CORE
34 tristate
35 depends on PCI
36 default n
37
38 config 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).
This page took 0.031715 seconds and 5 git commands to generate.