1 # SPDX-License-Identifier: GPL-2.0-only
3 # Mellanox switch drivers configuration
7 tristate "Mellanox Technologies Switch ASICs support"
12 This driver supports Mellanox Technologies Switch ASICs family.
14 To compile this driver as a module, choose M here: the
15 module will be called mlxsw_core.
17 config MLXSW_CORE_HWMON
18 bool "HWMON support for Mellanox Technologies Switch ASICs"
19 depends on MLXSW_CORE && HWMON
20 depends on !(MLXSW_CORE=y && HWMON=m)
23 Say Y here if you want to expose HWMON interface on mlxsw devices.
25 config MLXSW_CORE_THERMAL
26 bool "Thermal zone support for Mellanox Technologies Switch ASICs"
27 depends on MLXSW_CORE && THERMAL
30 Say Y here if you want to automatically control fans speed according
31 ambient temperature reported by ASIC.
34 tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
35 depends on PCI && HAS_IOMEM && MLXSW_CORE
38 This is PCI bus implementation for Mellanox Technologies Switch ASICs.
40 To compile this driver as a module, choose M here: the
41 module will be called mlxsw_pci.
44 tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
45 depends on I2C && MLXSW_CORE
48 This is I2C bus implementation for Mellanox Technologies Switch ASICs.
50 To compile this driver as a module, choose M here: the
51 module will be called mlxsw_i2c.
54 tristate "Mellanox Technologies Spectrum family support"
55 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
56 depends on PSAMPLE || PSAMPLE=n
57 depends on BRIDGE || BRIDGE=n
58 depends on IPV6 || IPV6=n
59 depends on NET_IPGRE || NET_IPGRE=n
60 depends on IPV6_GRE || IPV6_GRE=n
61 depends on VXLAN || VXLAN=n
62 depends on PTP_1588_CLOCK_OPTIONAL
63 select GENERIC_ALLOCATOR
66 select NET_PTP_CLASSIFY if PTP_1588_CLOCK
69 This driver supports Mellanox Technologies
70 Spectrum/Spectrum-2/Spectrum-3/Spectrum-4 Ethernet Switch ASICs.
72 To compile this driver as a module, choose M here: the
73 module will be called mlxsw_spectrum.
75 config MLXSW_SPECTRUM_DCB
76 bool "Data Center Bridging (DCB) support"
77 depends on MLXSW_SPECTRUM && DCB
80 Say Y here if you want to use Data Center Bridging (DCB) in the
84 tristate "Mellanox Technologies minimal I2C support"
85 depends on MLXSW_CORE && MLXSW_I2C
88 This driver supports I2C access for Mellanox Technologies Switch
91 To compile this driver as a module, choose M here: the
92 module will be called mlxsw_minimal.