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