Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# Mellanox driver configuration
#

config CONFIG_MLX4_EN
	tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
	depends on CONFIG_PCI && CONFIG_NETDEVICES && CONFIG_ETHERNET && CONFIG_INET
	select CONFIG_MLX4_CORE
	imply CONFIG_PTP_1588_CLOCK
	---help---
	  This driver supports Mellanox Technologies ConnectX Ethernet
	  devices.

config CONFIG_MLX4_EN_DCB
	bool "Data Center Bridging (DCB) Support"
	default y
	depends on CONFIG_MLX4_EN && CONFIG_DCB
	---help---
	  Say Y here if you want to use Data Center Bridging (CONFIG_DCB) in the
	  driver.
	  If set to N, will not be able to configure QoS and ratelimit attributes.
	  This flag is depended on the kernel's CONFIG_DCB support.

	  If unsure, set to Y

config CONFIG_MLX4_CORE
	tristate
	depends on CONFIG_PCI
	select CONFIG_NET_DEVLINK
	default n

config CONFIG_MLX4_DEBUG
	bool "Verbose debugging output" if (CONFIG_MLX4_CORE && CONFIG_EXPERT)
	depends on CONFIG_MLX4_CORE
	default y
	---help---
	  This option causes debugging code to be compiled into the
	  mlx4_core driver.  The output can be turned on via the
	  debug_level module parameter (which can also be set after
	  the driver is loaded through sysfs).

config CONFIG_MLX4_CORE_GEN2
	bool "Support for old gen2 Mellanox PCI IDs" if (CONFIG_MLX4_CORE)
	depends on CONFIG_MLX4_CORE
	default y
	---help---
	  Say Y here if you want to use old gen2 Mellanox devices in the
	  driver.