1# 2# Mellanox switch drivers configuration 3# 4 5config MLXSW_CORE 6 tristate "Mellanox Technologies Switch ASICs support" 7 ---help--- 8 This driver supports Mellanox Technologies Switch ASICs family. 9 10 To compile this driver as a module, choose M here: the 11 module will be called mlxsw_core. 12 13config MLXSW_CORE_HWMON 14 bool "HWMON support for Mellanox Technologies Switch ASICs" 15 depends on MLXSW_CORE && HWMON 16 depends on !(MLXSW_CORE=y && HWMON=m) 17 default y 18 ---help--- 19 Say Y here if you want to expose HWMON interface on mlxsw devices. 20 21config MLXSW_CORE_THERMAL 22 bool "Thermal zone support for Mellanox Technologies Switch ASICs" 23 depends on MLXSW_CORE && THERMAL 24 depends on !(MLXSW_CORE=y && THERMAL=m) 25 default y 26 ---help--- 27 Say Y here if you want to automatically control fans speed according 28 ambient temperature reported by ASIC. 29 30config MLXSW_PCI 31 tristate "PCI bus implementation for Mellanox Technologies Switch ASICs" 32 depends on PCI && HAS_IOMEM && MLXSW_CORE 33 default m 34 ---help--- 35 This is PCI bus implementation for Mellanox Technologies Switch ASICs. 36 37 To compile this driver as a module, choose M here: the 38 module will be called mlxsw_pci. 39 40config MLXSW_I2C 41 tristate "I2C bus implementation for Mellanox Technologies Switch ASICs" 42 depends on I2C && MLXSW_CORE 43 default m 44 ---help--- 45 This is I2C bus implementation for Mellanox Technologies Switch ASICs. 46 47 To compile this driver as a module, choose M here: the 48 module will be called mlxsw_i2c. 49 50config MLXSW_SWITCHIB 51 tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support" 52 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV 53 default m 54 ---help--- 55 This driver supports Mellanox Technologies SwitchIB and SwitchIB-2 56 Infiniband Switch ASICs. 57 58 To compile this driver as a module, choose M here: the 59 module will be called mlxsw_switchib. 60 61config MLXSW_SWITCHX2 62 tristate "Mellanox Technologies SwitchX-2 support" 63 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV 64 default m 65 ---help--- 66 This driver supports Mellanox Technologies SwitchX-2 Ethernet 67 Switch ASICs. 68 69 To compile this driver as a module, choose M here: the 70 module will be called mlxsw_switchx2. 71 72config MLXSW_SPECTRUM 73 tristate "Mellanox Technologies Spectrum support" 74 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q 75 depends on PSAMPLE || PSAMPLE=n 76 depends on BRIDGE || BRIDGE=n 77 depends on IPV6 || IPV6=n 78 depends on NET_IPGRE || NET_IPGRE=n 79 depends on IPV6_GRE || IPV6_GRE=n 80 depends on VXLAN || VXLAN=n 81 select GENERIC_ALLOCATOR 82 select PARMAN 83 select OBJAGG 84 select MLXFW 85 default m 86 ---help--- 87 This driver supports Mellanox Technologies Spectrum Ethernet 88 Switch ASICs. 89 90 To compile this driver as a module, choose M here: the 91 module will be called mlxsw_spectrum. 92 93config MLXSW_SPECTRUM_DCB 94 bool "Data Center Bridging (DCB) support" 95 depends on MLXSW_SPECTRUM && DCB 96 default y 97 ---help--- 98 Say Y here if you want to use Data Center Bridging (DCB) in the 99 driver. 100 101config MLXSW_MINIMAL 102 tristate "Mellanox Technologies minimal I2C support" 103 depends on MLXSW_CORE && MLXSW_I2C 104 default m 105 ---help--- 106 This driver supports I2C access for Mellanox Technologies Switch 107 ASICs. 108 109 To compile this driver as a module, choose M here: the 110 module will be called mlxsw_minimal. 111