1 # SPDX-License-Identifier: GPL-2.0-only
3 # Mellanox switch drivers configuration
7 tristate "Mellanox Technologies Switch ASICs support"
11 This driver supports Mellanox Technologies Switch ASICs family.
13 To compile this driver as a module, choose M here: the
14 module will be called mlxsw_core.
16 config MLXSW_CORE_HWMON
17 bool "HWMON support for Mellanox Technologies Switch ASICs"
18 depends on MLXSW_CORE && HWMON
19 depends on !(MLXSW_CORE=y && HWMON=m)
22 Say Y here if you want to expose HWMON interface on mlxsw devices.
24 config MLXSW_CORE_THERMAL
25 bool "Thermal zone support for Mellanox Technologies Switch ASICs"
26 depends on MLXSW_CORE && THERMAL
29 Say Y here if you want to automatically control fans speed according
30 ambient temperature reported by ASIC.
33 tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
34 depends on PCI && HAS_IOMEM && MLXSW_CORE
37 This is PCI bus implementation for Mellanox Technologies Switch ASICs.
39 To compile this driver as a module, choose M here: the
40 module will be called mlxsw_pci.
43 tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
44 depends on I2C && MLXSW_CORE
47 This is I2C bus implementation for Mellanox Technologies Switch ASICs.
49 To compile this driver as a module, choose M here: the
50 module will be called mlxsw_i2c.
53 tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
54 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
57 This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
58 Infiniband Switch ASICs.
60 To compile this driver as a module, choose M here: the
61 module will be called mlxsw_switchib.
64 tristate "Mellanox Technologies SwitchX-2 support"
65 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
68 This driver supports Mellanox Technologies SwitchX-2 Ethernet
71 To compile this driver as a module, choose M here: the
72 module will be called mlxsw_switchx2.
75 tristate "Mellanox Technologies Spectrum family support"
76 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
77 depends on PSAMPLE || PSAMPLE=n
78 depends on BRIDGE || BRIDGE=n
79 depends on IPV6 || IPV6=n
80 depends on NET_IPGRE || NET_IPGRE=n
81 depends on IPV6_GRE || IPV6_GRE=n
82 depends on VXLAN || VXLAN=n
83 select GENERIC_ALLOCATOR
87 select NET_PTP_CLASSIFY if PTP_1588_CLOCK
90 This driver supports Mellanox Technologies
91 Spectrum/Spectrum-2/Spectrum-3 Ethernet Switch ASICs.
93 To compile this driver as a module, choose M here: the
94 module will be called mlxsw_spectrum.
96 config MLXSW_SPECTRUM_DCB
97 bool "Data Center Bridging (DCB) support"
98 depends on MLXSW_SPECTRUM && DCB
101 Say Y here if you want to use Data Center Bridging (DCB) in the
105 tristate "Mellanox Technologies minimal I2C support"
106 depends on MLXSW_CORE && MLXSW_I2C
109 This driver supports I2C access for Mellanox Technologies Switch
112 To compile this driver as a module, choose M here: the
113 module will be called mlxsw_minimal.