xref: /linux/drivers/net/ethernet/mellanox/mlxsw/Kconfig (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1#
2# Mellanox switch drivers configuration
3#
4
5config MLXSW_CORE
6	tristate "Mellanox Technologies Switch ASICs support"
7	---help---
8	  This driver supports Mellanox Technologies Switch ASICs family.
9
10	  To compile this driver as a module, choose M here: the
11	  module will be called mlxsw_core.
12
13config MLXSW_PCI
14	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
15	depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
16	default m
17	---help---
18	  This is PCI bus implementation for Mellanox Technologies Switch ASICs.
19
20	  To compile this driver as a module, choose M here: the
21	  module will be called mlxsw_pci.
22
23config MLXSW_SWITCHX2
24	tristate "Mellanox Technologies SwitchX-2 support"
25	depends on MLXSW_CORE && NET_SWITCHDEV
26	default m
27	---help---
28	  This driver supports Mellanox Technologies SwitchX-2 Ethernet
29	  Switch ASICs.
30
31	  To compile this driver as a module, choose M here: the
32	  module will be called mlxsw_switchx2.
33