1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 293c1edb2SJiri Pirko# 393c1edb2SJiri Pirko# Mellanox switch drivers configuration 493c1edb2SJiri Pirko# 593c1edb2SJiri Pirko 693c1edb2SJiri Pirkoconfig MLXSW_CORE 793c1edb2SJiri Pirko tristate "Mellanox Technologies Switch ASICs support" 8f6b19b35SJiri Pirko select NET_DEVLINK 9fb738b99SIdo Schimmel select MLXFW 10a7f7f624SMasahiro Yamada help 1193c1edb2SJiri Pirko This driver supports Mellanox Technologies Switch ASICs family. 1293c1edb2SJiri Pirko 1393c1edb2SJiri Pirko To compile this driver as a module, choose M here: the 1493c1edb2SJiri Pirko module will be called mlxsw_core. 15eda6500aSJiri Pirko 1689309da3SJiri Pirkoconfig MLXSW_CORE_HWMON 1789309da3SJiri Pirko bool "HWMON support for Mellanox Technologies Switch ASICs" 1889309da3SJiri Pirko depends on MLXSW_CORE && HWMON 1989309da3SJiri Pirko depends on !(MLXSW_CORE=y && HWMON=m) 2089309da3SJiri Pirko default y 21a7f7f624SMasahiro Yamada help 2289309da3SJiri Pirko Say Y here if you want to expose HWMON interface on mlxsw devices. 2389309da3SJiri Pirko 24a50c1e35SIvan Veceraconfig MLXSW_CORE_THERMAL 25a50c1e35SIvan Vecera bool "Thermal zone support for Mellanox Technologies Switch ASICs" 26a50c1e35SIvan Vecera depends on MLXSW_CORE && THERMAL 27a50c1e35SIvan Vecera default y 28a7f7f624SMasahiro Yamada help 29a50c1e35SIvan Vecera Say Y here if you want to automatically control fans speed according 30a50c1e35SIvan Vecera ambient temperature reported by ASIC. 31a50c1e35SIvan Vecera 32eda6500aSJiri Pirkoconfig MLXSW_PCI 33eda6500aSJiri Pirko tristate "PCI bus implementation for Mellanox Technologies Switch ASICs" 34e020797bSGeert Uytterhoeven depends on PCI && HAS_IOMEM && MLXSW_CORE 35eda6500aSJiri Pirko default m 36a7f7f624SMasahiro Yamada help 37eda6500aSJiri Pirko This is PCI bus implementation for Mellanox Technologies Switch ASICs. 38eda6500aSJiri Pirko 39eda6500aSJiri Pirko To compile this driver as a module, choose M here: the 40eda6500aSJiri Pirko module will be called mlxsw_pci. 4131557f0fSJiri Pirko 426882b0aeSVadim Pasternakconfig MLXSW_I2C 436882b0aeSVadim Pasternak tristate "I2C bus implementation for Mellanox Technologies Switch ASICs" 446882b0aeSVadim Pasternak depends on I2C && MLXSW_CORE 456882b0aeSVadim Pasternak default m 46a7f7f624SMasahiro Yamada help 476882b0aeSVadim Pasternak This is I2C bus implementation for Mellanox Technologies Switch ASICs. 486882b0aeSVadim Pasternak 496882b0aeSVadim Pasternak To compile this driver as a module, choose M here: the 506882b0aeSVadim Pasternak module will be called mlxsw_i2c. 516882b0aeSVadim Pasternak 5256ade8feSJiri Pirkoconfig MLXSW_SPECTRUM 53da382875SJiri Pirko tristate "Mellanox Technologies Spectrum family support" 541d20d23cSJiri Pirko depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q 558d1fb01dSArnd Bergmann depends on PSAMPLE || PSAMPLE=n 560266f797SIdo Schimmel depends on BRIDGE || BRIDGE=n 57428b851fSIdo Schimmel depends on IPV6 || IPV6=n 5899db5229SPetr Machata depends on NET_IPGRE || NET_IPGRE=n 5999db5229SPetr Machata depends on IPV6_GRE || IPV6_GRE=n 60143a8e03SIdo Schimmel depends on VXLAN || VXLAN=n 61*e5f31552SArnd Bergmann depends on PTP_1588_CLOCK_OPTIONAL 62f465261aSIdo Schimmel select GENERIC_ALLOCATOR 6322a67766SJiri Pirko select PARMAN 64c71abd7dSJiri Pirko select OBJAGG 65d92e4e6eSPetr Machata select NET_PTP_CLASSIFY if PTP_1588_CLOCK 6656ade8feSJiri Pirko default m 67a7f7f624SMasahiro Yamada help 68da382875SJiri Pirko This driver supports Mellanox Technologies 69da382875SJiri Pirko Spectrum/Spectrum-2/Spectrum-3 Ethernet Switch ASICs. 7056ade8feSJiri Pirko 7156ade8feSJiri Pirko To compile this driver as a module, choose M here: the 7256ade8feSJiri Pirko module will be called mlxsw_spectrum. 73f00817dfSIdo Schimmel 74f00817dfSIdo Schimmelconfig MLXSW_SPECTRUM_DCB 75f00817dfSIdo Schimmel bool "Data Center Bridging (DCB) support" 76f00817dfSIdo Schimmel depends on MLXSW_SPECTRUM && DCB 77f00817dfSIdo Schimmel default y 78a7f7f624SMasahiro Yamada help 79f00817dfSIdo Schimmel Say Y here if you want to use Data Center Bridging (DCB) in the 80f00817dfSIdo Schimmel driver. 81d556e929SVadim Pasternak 82d556e929SVadim Pasternakconfig MLXSW_MINIMAL 83d556e929SVadim Pasternak tristate "Mellanox Technologies minimal I2C support" 84d556e929SVadim Pasternak depends on MLXSW_CORE && MLXSW_I2C 85d556e929SVadim Pasternak default m 86a7f7f624SMasahiro Yamada help 87d556e929SVadim Pasternak This driver supports I2C access for Mellanox Technologies Switch 88d556e929SVadim Pasternak ASICs. 89d556e929SVadim Pasternak 90d556e929SVadim Pasternak To compile this driver as a module, choose M here: the 91d556e929SVadim Pasternak module will be called mlxsw_minimal. 92