]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/net/ethernet/mellanox/mlxsw/Kconfig
Merge branch 'drm-fixes-4.10' of git://people.freedesktop.org/~agd5f/linux into drm...
[mirror_ubuntu-artful-kernel.git] / drivers / net / ethernet / mellanox / mlxsw / Kconfig
CommitLineData
93c1edb2
JP
1#
2# Mellanox switch drivers configuration
3#
4
5config MLXSW_CORE
6 tristate "Mellanox Technologies Switch ASICs support"
3d1cbe83 7 depends on MAY_USE_DEVLINK
93c1edb2
JP
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.
eda6500a 13
89309da3
JP
14config 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
a50c1e35
IV
22config 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
eda6500a
JP
31config MLXSW_PCI
32 tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
74ed207e 33 depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
eda6500a
JP
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.
31557f0f 40
6882b0ae
VP
41config 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
d1ba5263
ER
51config MLXSW_SWITCHIB
52 tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
67ea7ef1 53 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
d1ba5263
ER
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
31557f0f
JP
62config MLXSW_SWITCHX2
63 tristate "Mellanox Technologies SwitchX-2 support"
1d20d23c 64 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
31557f0f
JP
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.
56ade8fe
JP
72
73config MLXSW_SPECTRUM
74 tristate "Mellanox Technologies Spectrum support"
1d20d23c 75 depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
56ade8fe
JP
76 default m
77 ---help---
78 This driver supports Mellanox Technologies Spectrum Ethernet
79 Switch ASICs.
80
81 To compile this driver as a module, choose M here: the
82 module will be called mlxsw_spectrum.
f00817df
IS
83
84config MLXSW_SPECTRUM_DCB
85 bool "Data Center Bridging (DCB) support"
86 depends on MLXSW_SPECTRUM && DCB
87 default y
88 ---help---
89 Say Y here if you want to use Data Center Bridging (DCB) in the
90 driver.
d556e929
VP
91
92config MLXSW_MINIMAL
93 tristate "Mellanox Technologies minimal I2C support"
94 depends on MLXSW_CORE && MLXSW_I2C
95 default m
96 ---help---
97 This driver supports I2C access for Mellanox Technologies Switch
98 ASICs.
99
100 To compile this driver as a module, choose M here: the
101 module will be called mlxsw_minimal.