2015-07-30 04:33:46 +07:00
|
|
|
#
|
|
|
|
# Mellanox switch drivers configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
config MLXSW_CORE
|
|
|
|
tristate "Mellanox Technologies Switch ASICs support"
|
2016-03-02 16:40:54 +07:00
|
|
|
depends on MAY_USE_DEVLINK
|
2015-07-30 04:33:46 +07:00
|
|
|
---help---
|
|
|
|
This driver supports Mellanox Technologies Switch ASICs family.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_core.
|
2015-07-30 04:33:47 +07:00
|
|
|
|
2015-11-27 19:45:57 +07:00
|
|
|
config MLXSW_CORE_HWMON
|
|
|
|
bool "HWMON support for Mellanox Technologies Switch ASICs"
|
|
|
|
depends on MLXSW_CORE && HWMON
|
|
|
|
depends on !(MLXSW_CORE=y && HWMON=m)
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to expose HWMON interface on mlxsw devices.
|
|
|
|
|
2016-11-22 17:24:13 +07:00
|
|
|
config MLXSW_CORE_THERMAL
|
|
|
|
bool "Thermal zone support for Mellanox Technologies Switch ASICs"
|
|
|
|
depends on MLXSW_CORE && THERMAL
|
|
|
|
depends on !(MLXSW_CORE=y && THERMAL=m)
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to automatically control fans speed according
|
|
|
|
ambient temperature reported by ASIC.
|
|
|
|
|
2015-07-30 04:33:47 +07:00
|
|
|
config MLXSW_PCI
|
|
|
|
tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
|
2015-08-06 21:41:54 +07:00
|
|
|
depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
|
2015-07-30 04:33:47 +07:00
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This is PCI bus implementation for Mellanox Technologies Switch ASICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_pci.
|
2015-07-30 04:33:49 +07:00
|
|
|
|
2016-11-16 21:20:44 +07:00
|
|
|
config MLXSW_I2C
|
|
|
|
tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
|
|
|
|
depends on I2C && MLXSW_CORE
|
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This is I2C bus implementation for Mellanox Technologies Switch ASICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_i2c.
|
|
|
|
|
2016-10-29 02:36:01 +07:00
|
|
|
config MLXSW_SWITCHIB
|
|
|
|
tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
|
2016-11-28 21:26:04 +07:00
|
|
|
depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
|
2016-10-29 02:36:01 +07:00
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
|
|
|
|
Infiniband Switch ASICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_switchib.
|
|
|
|
|
2015-07-30 04:33:49 +07:00
|
|
|
config MLXSW_SWITCHX2
|
|
|
|
tristate "Mellanox Technologies SwitchX-2 support"
|
2016-10-27 20:12:59 +07:00
|
|
|
depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
|
2015-07-30 04:33:49 +07:00
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This driver supports Mellanox Technologies SwitchX-2 Ethernet
|
|
|
|
Switch ASICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_switchx2.
|
2015-10-16 19:01:37 +07:00
|
|
|
|
|
|
|
config MLXSW_SPECTRUM
|
|
|
|
tristate "Mellanox Technologies Spectrum support"
|
2016-10-27 20:12:59 +07:00
|
|
|
depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
|
2017-02-06 23:26:30 +07:00
|
|
|
depends on PSAMPLE || PSAMPLE=n
|
2017-06-01 01:33:42 +07:00
|
|
|
depends on BRIDGE || BRIDGE=n
|
2017-08-03 18:28:28 +07:00
|
|
|
depends on IPV6 || IPV6=n
|
2017-02-03 16:29:07 +07:00
|
|
|
select PARMAN
|
2017-05-24 02:56:29 +07:00
|
|
|
select MLXFW
|
2015-10-16 19:01:37 +07:00
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This driver supports Mellanox Technologies Spectrum Ethernet
|
|
|
|
Switch ASICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_spectrum.
|
2016-04-06 22:10:09 +07:00
|
|
|
|
|
|
|
config MLXSW_SPECTRUM_DCB
|
|
|
|
bool "Data Center Bridging (DCB) support"
|
|
|
|
depends on MLXSW_SPECTRUM && DCB
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Say Y here if you want to use Data Center Bridging (DCB) in the
|
|
|
|
driver.
|
2016-11-16 21:20:46 +07:00
|
|
|
|
|
|
|
config MLXSW_MINIMAL
|
|
|
|
tristate "Mellanox Technologies minimal I2C support"
|
|
|
|
depends on MLXSW_CORE && MLXSW_I2C
|
|
|
|
default m
|
|
|
|
---help---
|
|
|
|
This driver supports I2C access for Mellanox Technologies Switch
|
|
|
|
ASICs.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mlxsw_minimal.
|