# SPDX-License-Identifier: GPL-2.0-only
#
# Mellanox switch drivers configuration
#
config [31mCONFIG_MLXSW_CORE[0m
tristate "Mellanox Technologies Switch ASICs support"
select [31mCONFIG_NET_DEVLINK[0m
---help---
This driver supports Mellanox Technologies Switch ASICs family.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_core.
config [31mCONFIG_MLXSW_CORE_HWMON[0m
bool "HWMON support for Mellanox Technologies Switch ASICs"
depends on [31mCONFIG_MLXSW_CORE[0m && [31mCONFIG_HWMON[0m
depends on !([31mCONFIG_MLXSW_CORE[0m=y && [31mCONFIG_HWMON[0m=m)
default y
---help---
Say Y here if you want to expose [31mCONFIG_HWMON[0m interface on mlxsw devices.
config [31mCONFIG_MLXSW_CORE_THERMAL[0m
bool "Thermal zone support for Mellanox Technologies Switch ASICs"
depends on [31mCONFIG_MLXSW_CORE[0m && [31mCONFIG_THERMAL[0m
default y
---help---
Say Y here if you want to automatically control fans speed according
ambient temperature reported by ASIC.
config [31mCONFIG_MLXSW_PCI[0m
tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
depends on [31mCONFIG_PCI[0m && [31mCONFIG_HAS_IOMEM[0m && [31mCONFIG_MLXSW_CORE[0m
default m
---help---
This is [31mCONFIG_PCI[0m bus implementation for Mellanox Technologies Switch ASICs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_pci.
config [31mCONFIG_MLXSW_I2C[0m
tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
depends on [31mCONFIG_I2C[0m && [31mCONFIG_MLXSW_CORE[0m
default m
---help---
This is [31mCONFIG_I2C[0m bus implementation for Mellanox Technologies Switch ASICs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_i2c.
config [31mCONFIG_MLXSW_SWITCHIB[0m
tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
depends on [31mCONFIG_MLXSW_CORE[0m && [31mCONFIG_MLXSW_PCI[0m && [31mCONFIG_NET_SWITCHDEV[0m
default m
---help---
This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
Infiniband Switch ASICs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_switchib.
config [31mCONFIG_MLXSW_SWITCHX2[0m
tristate "Mellanox Technologies SwitchX-2 support"
depends on [31mCONFIG_MLXSW_CORE[0m && [31mCONFIG_MLXSW_PCI[0m && [31mCONFIG_NET_SWITCHDEV[0m
default m
---help---
This driver supports Mellanox Technologies SwitchX-2 Ethernet
Switch ASICs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_switchx2.
config [31mCONFIG_MLXSW_SPECTRUM[0m
tristate "Mellanox Technologies Spectrum family support"
depends on [31mCONFIG_MLXSW_CORE[0m && [31mCONFIG_MLXSW_PCI[0m && [31mCONFIG_NET_SWITCHDEV[0m && [31mCONFIG_VLAN_8021Q[0m
depends on [31mCONFIG_PSAMPLE[0m || [31mCONFIG_PSAMPLE[0m=n
depends on [31mCONFIG_BRIDGE[0m || [31mCONFIG_BRIDGE[0m=n
depends on [31mCONFIG_IPV6[0m || [31mCONFIG_IPV6[0m=n
depends on [31mCONFIG_NET_IPGRE[0m || [31mCONFIG_NET_IPGRE[0m=n
depends on [31mCONFIG_IPV6_GRE[0m || [31mCONFIG_IPV6_GRE[0m=n
depends on [31mCONFIG_VXLAN[0m || [31mCONFIG_VXLAN[0m=n
select [31mCONFIG_GENERIC_ALLOCATOR[0m
select [31mCONFIG_PARMAN[0m
select [31mCONFIG_OBJAGG[0m
select [31mCONFIG_MLXFW[0m
imply [31mCONFIG_PTP_1588_CLOCK[0m
select [31mCONFIG_NET_PTP_CLASSIFY[0m if [31mCONFIG_PTP_1588_CLOCK[0m
default m
---help---
This driver supports Mellanox Technologies
Spectrum/Spectrum-2/Spectrum-3 Ethernet Switch ASICs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_spectrum.
config [31mCONFIG_MLXSW_SPECTRUM_DCB[0m
bool "Data Center Bridging (DCB) support"
depends on [31mCONFIG_MLXSW_SPECTRUM[0m && [31mCONFIG_DCB[0m
default y
---help---
Say Y here if you want to use Data Center Bridging ([31mCONFIG_DCB[0m) in the
driver.
config [31mCONFIG_MLXSW_MINIMAL[0m
tristate "Mellanox Technologies minimal I2C support"
depends on [31mCONFIG_MLXSW_CORE[0m && [31mCONFIG_MLXSW_I2C[0m
default m
---help---
This driver supports [31mCONFIG_I2C[0m access for Mellanox Technologies Switch
ASICs.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mlxsw_minimal.