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

#
# Mellanox switch drivers configuration
#

config CONFIG_MLXSW_CORE
	tristate "Mellanox Technologies Switch ASICs support"
	depends on CONFIG_MAY_USE_DEVLINK
	---help---
	  This driver supports Mellanox Technologies Switch ASICs family.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_core.

config CONFIG_MLXSW_CORE_HWMON
	bool "HWMON support for Mellanox Technologies Switch ASICs"
	depends on CONFIG_MLXSW_CORE && CONFIG_HWMON
	depends on !(CONFIG_MLXSW_CORE=y && CONFIG_HWMON=m)
	default y
	---help---
	  Say Y here if you want to expose CONFIG_HWMON interface on mlxsw devices.

config CONFIG_MLXSW_CORE_THERMAL
	bool "Thermal zone support for Mellanox Technologies Switch ASICs"
	depends on CONFIG_MLXSW_CORE && CONFIG_THERMAL
	depends on !(CONFIG_MLXSW_CORE=y && CONFIG_THERMAL=m)
	default y
	---help---
	 Say Y here if you want to automatically control fans speed according
	 ambient temperature reported by ASIC.

config CONFIG_MLXSW_PCI
	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
	depends on CONFIG_PCI && CONFIG_HAS_DMA && CONFIG_HAS_IOMEM && CONFIG_MLXSW_CORE
	default m
	---help---
	  This is CONFIG_PCI bus implementation for Mellanox Technologies Switch ASICs.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_pci.

config CONFIG_MLXSW_I2C
	tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
	depends on CONFIG_I2C && CONFIG_MLXSW_CORE
	default m
	---help---
	  This is CONFIG_I2C bus implementation for Mellanox Technologies Switch ASICs.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_i2c.

config CONFIG_MLXSW_SWITCHIB
	tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
	depends on CONFIG_MLXSW_CORE && CONFIG_MLXSW_PCI && CONFIG_NET_SWITCHDEV
	default m
	---help---
	  This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
	  Infiniband Switch ASICs.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_switchib.

config CONFIG_MLXSW_SWITCHX2
	tristate "Mellanox Technologies SwitchX-2 support"
	depends on CONFIG_MLXSW_CORE && CONFIG_MLXSW_PCI && CONFIG_NET_SWITCHDEV
	default m
	---help---
	  This driver supports Mellanox Technologies SwitchX-2 Ethernet
	  Switch ASICs.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_switchx2.

config CONFIG_MLXSW_SPECTRUM
	tristate "Mellanox Technologies Spectrum support"
	depends on CONFIG_MLXSW_CORE && CONFIG_MLXSW_PCI && CONFIG_NET_SWITCHDEV && CONFIG_VLAN_8021Q
	default m
	---help---
	  This driver supports Mellanox Technologies Spectrum Ethernet
	  Switch ASICs.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_spectrum.

config CONFIG_MLXSW_SPECTRUM_DCB
	bool "Data Center Bridging (DCB) support"
	depends on CONFIG_MLXSW_SPECTRUM && CONFIG_DCB
	default y
	---help---
	  Say Y here if you want to use Data Center Bridging (CONFIG_DCB) in the
	  driver.

config CONFIG_MLXSW_MINIMAL
	tristate "Mellanox Technologies minimal I2C support"
	depends on CONFIG_MLXSW_CORE && CONFIG_MLXSW_I2C
	default m
	---help---
	  This driver supports CONFIG_I2C access for Mellanox Technologies Switch
	  ASICs.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called mlxsw_minimal.