blob: 76a7574c3c7ddbc02c7918076a231968a9b8edc7 [file] [log] [blame]
Jiri Pirko93c1edb2015-07-29 23:33:46 +02001#
2# Mellanox switch drivers configuration
3#
4
5config MLXSW_CORE
6 tristate "Mellanox Technologies Switch ASICs support"
Arnd Bergmann3d1cbe82016-03-02 10:40:54 +01007 depends on MAY_USE_DEVLINK
Jiri Pirko93c1edb2015-07-29 23:33:46 +02008 ---help---
9 This driver supports Mellanox Technologies Switch ASICs family.
10
11 To compile this driver as a module, choose M here: the
12 module will be called mlxsw_core.
Jiri Pirkoeda65002015-07-29 23:33:47 +020013
Jiri Pirko89309da2015-11-27 13:45:57 +010014config MLXSW_CORE_HWMON
15 bool "HWMON support for Mellanox Technologies Switch ASICs"
16 depends on MLXSW_CORE && HWMON
17 depends on !(MLXSW_CORE=y && HWMON=m)
18 default y
19 ---help---
20 Say Y here if you want to expose HWMON interface on mlxsw devices.
21
Ivan Veceraa50c1e32016-11-22 11:24:13 +010022config MLXSW_CORE_THERMAL
23 bool "Thermal zone support for Mellanox Technologies Switch ASICs"
24 depends on MLXSW_CORE && THERMAL
25 depends on !(MLXSW_CORE=y && THERMAL=m)
26 default y
27 ---help---
28 Say Y here if you want to automatically control fans speed according
29 ambient temperature reported by ASIC.
30
Jiri Pirkoeda65002015-07-29 23:33:47 +020031config MLXSW_PCI
32 tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
Jiri Pirko74ed2072015-08-06 16:41:54 +020033 depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
Jiri Pirkoeda65002015-07-29 23:33:47 +020034 default m
35 ---help---
36 This is PCI bus implementation for Mellanox Technologies Switch ASICs.
37
38 To compile this driver as a module, choose M here: the
39 module will be called mlxsw_pci.
Jiri Pirko31557f02015-07-29 23:33:49 +020040
Vadim Pasternak6882b0a2016-11-16 15:20:44 +010041config MLXSW_I2C
42 tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
43 depends on I2C && MLXSW_CORE
44 default m
45 ---help---
46 This is I2C bus implementation for Mellanox Technologies Switch ASICs.
47
48 To compile this driver as a module, choose M here: the
49 module will be called mlxsw_i2c.
50
Elad Razd1ba5262016-10-28 21:36:01 +020051config MLXSW_SWITCHIB
52 tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
Arnd Bergmann67ea7ef2016-11-28 15:26:04 +010053 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
Elad Razd1ba5262016-10-28 21:36:01 +020054 default m
55 ---help---
56 This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
57 Infiniband Switch ASICs.
58
59 To compile this driver as a module, choose M here: the
60 module will be called mlxsw_switchib.
61
Jiri Pirko31557f02015-07-29 23:33:49 +020062config MLXSW_SWITCHX2
63 tristate "Mellanox Technologies SwitchX-2 support"
Jiri Pirko1d20d232016-10-27 15:12:59 +020064 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
Jiri Pirko31557f02015-07-29 23:33:49 +020065 default m
66 ---help---
67 This driver supports Mellanox Technologies SwitchX-2 Ethernet
68 Switch ASICs.
69
70 To compile this driver as a module, choose M here: the
71 module will be called mlxsw_switchx2.
Jiri Pirko56ade8f2015-10-16 14:01:37 +020072
73config MLXSW_SPECTRUM
74 tristate "Mellanox Technologies Spectrum support"
Jiri Pirko1d20d232016-10-27 15:12:59 +020075 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
Jiri Pirko22a67762017-02-03 10:29:07 +010076 select PARMAN
Jiri Pirko56ade8f2015-10-16 14:01:37 +020077 default m
78 ---help---
79 This driver supports Mellanox Technologies Spectrum Ethernet
80 Switch ASICs.
81
82 To compile this driver as a module, choose M here: the
83 module will be called mlxsw_spectrum.
Ido Schimmelf00817d2016-04-06 17:10:09 +020084
85config MLXSW_SPECTRUM_DCB
86 bool "Data Center Bridging (DCB) support"
87 depends on MLXSW_SPECTRUM && DCB
88 default y
89 ---help---
90 Say Y here if you want to use Data Center Bridging (DCB) in the
91 driver.
Vadim Pasternakd556e922016-11-16 15:20:46 +010092
93config MLXSW_MINIMAL
94 tristate "Mellanox Technologies minimal I2C support"
95 depends on MLXSW_CORE && MLXSW_I2C
96 default m
97 ---help---
98 This driver supports I2C access for Mellanox Technologies Switch
99 ASICs.
100
101 To compile this driver as a module, choose M here: the
102 module will be called mlxsw_minimal.