Jiri Pirko | 93c1edb | 2015-07-29 23:33:46 +0200 | [diff] [blame] | 1 | # |
| 2 | # Mellanox switch drivers configuration |
| 3 | # |
| 4 | |
| 5 | config MLXSW_CORE |
| 6 | tristate "Mellanox Technologies Switch ASICs support" |
Arnd Bergmann | 3d1cbe8 | 2016-03-02 10:40:54 +0100 | [diff] [blame] | 7 | depends on MAY_USE_DEVLINK |
Jiri Pirko | 93c1edb | 2015-07-29 23:33:46 +0200 | [diff] [blame] | 8 | ---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 Pirko | eda6500 | 2015-07-29 23:33:47 +0200 | [diff] [blame] | 13 | |
Jiri Pirko | 89309da | 2015-11-27 13:45:57 +0100 | [diff] [blame] | 14 | config 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 Vecera | a50c1e3 | 2016-11-22 11:24:13 +0100 | [diff] [blame] | 22 | config 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 Pirko | eda6500 | 2015-07-29 23:33:47 +0200 | [diff] [blame] | 31 | config MLXSW_PCI |
| 32 | tristate "PCI bus implementation for Mellanox Technologies Switch ASICs" |
Jiri Pirko | 74ed207 | 2015-08-06 16:41:54 +0200 | [diff] [blame] | 33 | depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE |
Jiri Pirko | eda6500 | 2015-07-29 23:33:47 +0200 | [diff] [blame] | 34 | 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 Pirko | 31557f0 | 2015-07-29 23:33:49 +0200 | [diff] [blame] | 40 | |
Vadim Pasternak | 6882b0a | 2016-11-16 15:20:44 +0100 | [diff] [blame] | 41 | config 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 Raz | d1ba526 | 2016-10-28 21:36:01 +0200 | [diff] [blame] | 51 | config MLXSW_SWITCHIB |
| 52 | tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support" |
Arnd Bergmann | 67ea7ef | 2016-11-28 15:26:04 +0100 | [diff] [blame] | 53 | depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV |
Elad Raz | d1ba526 | 2016-10-28 21:36:01 +0200 | [diff] [blame] | 54 | 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 Pirko | 31557f0 | 2015-07-29 23:33:49 +0200 | [diff] [blame] | 62 | config MLXSW_SWITCHX2 |
| 63 | tristate "Mellanox Technologies SwitchX-2 support" |
Jiri Pirko | 1d20d23 | 2016-10-27 15:12:59 +0200 | [diff] [blame] | 64 | depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV |
Jiri Pirko | 31557f0 | 2015-07-29 23:33:49 +0200 | [diff] [blame] | 65 | 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 Pirko | 56ade8f | 2015-10-16 14:01:37 +0200 | [diff] [blame] | 72 | |
| 73 | config MLXSW_SPECTRUM |
| 74 | tristate "Mellanox Technologies Spectrum support" |
Jiri Pirko | 1d20d23 | 2016-10-27 15:12:59 +0200 | [diff] [blame] | 75 | depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q |
Jiri Pirko | 22a6776 | 2017-02-03 10:29:07 +0100 | [diff] [blame^] | 76 | select PARMAN |
Jiri Pirko | 56ade8f | 2015-10-16 14:01:37 +0200 | [diff] [blame] | 77 | 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 Schimmel | f00817d | 2016-04-06 17:10:09 +0200 | [diff] [blame] | 84 | |
| 85 | config 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 Pasternak | d556e92 | 2016-11-16 15:20:46 +0100 | [diff] [blame] | 92 | |
| 93 | config 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. |