Kconfig 3.2 KB
Newer Older
1 2 3 4 5 6
#
# Mellanox switch drivers configuration
#

config MLXSW_CORE
	tristate "Mellanox Technologies Switch ASICs support"
7
	depends on MAY_USE_DEVLINK
8 9 10 11 12
	---help---
	  This driver supports Mellanox Technologies Switch ASICs family.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_core.
J
Jiri Pirko 已提交
13

14 15 16 17 18 19 20 21
config MLXSW_CORE_HWMON
	bool "HWMON support for Mellanox Technologies Switch ASICs"
	depends on MLXSW_CORE && HWMON
	depends on !(MLXSW_CORE=y && HWMON=m)
	default y
	---help---
	  Say Y here if you want to expose HWMON interface on mlxsw devices.

I
Ivan Vecera 已提交
22 23 24 25 26 27 28 29 30
config MLXSW_CORE_THERMAL
	bool "Thermal zone support for Mellanox Technologies Switch ASICs"
	depends on MLXSW_CORE && THERMAL
	depends on !(MLXSW_CORE=y && THERMAL=m)
	default y
	---help---
	 Say Y here if you want to automatically control fans speed according
	 ambient temperature reported by ASIC.

J
Jiri Pirko 已提交
31 32
config MLXSW_PCI
	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
33
	depends on PCI && HAS_IOMEM && MLXSW_CORE
J
Jiri Pirko 已提交
34 35 36 37 38 39
	default m
	---help---
	  This is PCI bus implementation for Mellanox Technologies Switch ASICs.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_pci.
40

41 42 43 44 45 46 47 48 49 50
config MLXSW_I2C
	tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
	depends on I2C && MLXSW_CORE
	default m
	---help---
	  This is I2C bus implementation for Mellanox Technologies Switch ASICs.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_i2c.

51 52
config MLXSW_SWITCHIB
	tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
53
	depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
54 55 56 57 58 59 60 61
	default m
	---help---
	  This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
	  Infiniband Switch ASICs.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_switchib.

62 63
config MLXSW_SWITCHX2
	tristate "Mellanox Technologies SwitchX-2 support"
64
	depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
65 66 67 68 69 70 71
	default m
	---help---
	  This driver supports Mellanox Technologies SwitchX-2 Ethernet
	  Switch ASICs.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_switchx2.
72 73 74

config MLXSW_SPECTRUM
	tristate "Mellanox Technologies Spectrum support"
75
	depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
76
	depends on PSAMPLE || PSAMPLE=n
77
	depends on BRIDGE || BRIDGE=n
78
	depends on IPV6 || IPV6=n
79 80
	depends on NET_IPGRE || NET_IPGRE=n
	depends on IPV6_GRE || IPV6_GRE=n
81
	select GENERIC_ALLOCATOR
82
	select PARMAN
83
	select MLXFW
84 85 86 87 88 89 90
	default m
	---help---
	  This driver supports Mellanox Technologies Spectrum Ethernet
	  Switch ASICs.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_spectrum.
91 92 93 94 95 96 97 98

config MLXSW_SPECTRUM_DCB
	bool "Data Center Bridging (DCB) support"
	depends on MLXSW_SPECTRUM && DCB
	default y
	---help---
	  Say Y here if you want to use Data Center Bridging (DCB) in the
	  driver.
99 100 101 102 103 104 105 106 107 108 109

config MLXSW_MINIMAL
	tristate "Mellanox Technologies minimal I2C support"
	depends on MLXSW_CORE && MLXSW_I2C
	default m
	---help---
	  This driver supports I2C access for Mellanox Technologies Switch
	  ASICs.

	  To compile this driver as a module, choose M here: the
	  module will be called mlxsw_minimal.