Directory Files
.. 2
File Size
Kconfig 2.7 kB
Makefile 1.6 kB
cmd.h 42 kB
core.c 98 kB
core.h 22 kB
core_acl_flex_actions.c 62 kB
core_acl_flex_actions.h 5.2 kB
core_acl_flex_keys.c 15 kB
core_acl_flex_keys.h 6.8 kB
core_env.c 42 kB
core_env.h 2.1 kB
core_hwmon.c 29 kB
core_linecard_dev.c 5.2 kB
core_linecards.c 47 kB
core_thermal.c 24 kB
emad.h 2.9 kB
i2c.c 22 kB
i2c.h 560 B
item.h 18 kB
minimal.c 20 kB
mlxsw_core.mod.c 0 B
mlxsw_i2c.mod.c 0 B
mlxsw_minimal.mod.c 0 B
mlxsw_pci.mod.c 0 B
mlxsw_spectrum.mod.c 0 B
pci.c 58 kB
pci.h 747 B
pci_hw.h 13 kB
port.h 976 B
reg.h 386 kB
resources.h 5.3 kB
spectrum.c 158 kB
spectrum.h 52 kB
spectrum1_acl_tcam.c 7.3 kB
spectrum1_kvdl.c 12 kB
spectrum1_mr_tcam.c 10 kB
spectrum2_acl_tcam.c 8.6 kB
spectrum2_kvdl.c 7.8 kB
spectrum2_mr_tcam.c 9.8 kB
spectrum_acl.c 33 kB
spectrum_acl_atcam.c 20 kB
spectrum_acl_bloom_filter.c 19 kB
spectrum_acl_ctcam.c 7.2 kB
spectrum_acl_erp.c 46 kB
spectrum_acl_flex_actions.c 9.0 kB
spectrum_acl_flex_actions.h 348 B
spectrum_acl_flex_keys.c 14 kB
spectrum_acl_tcam.c 56 kB
spectrum_acl_tcam.h 11 kB
spectrum_buffers.c 52 kB
spectrum_cnt.c 9.0 kB
spectrum_cnt.h 822 B
spectrum_dcb.c 19 kB
spectrum_dpipe.c 36 kB
spectrum_dpipe.h 532 B
spectrum_ethtool.c 61 kB
spectrum_fid.c 51 kB
spectrum_flow.c 7.6 kB
spectrum_flower.c 26 kB
spectrum_ipip.c 19 kB
spectrum_ipip.h 2.5 kB
spectrum_kvdl.c 2.2 kB
spectrum_matchall.c 14 kB
spectrum_mr.c 31 kB
spectrum_mr.h 3.4 kB
spectrum_mr_tcam.c 17 kB
spectrum_mr_tcam.h 324 B
spectrum_nve.c 32 kB
spectrum_nve.h 1.7 kB
spectrum_nve_vxlan.c 14 kB
spectrum_pgt.c 8.3 kB
spectrum_policer.c 13 kB
spectrum_port_range.c 5.2 kB
spectrum_ptp.c 46 kB
spectrum_ptp.h 6.7 kB
spectrum_qdisc.c 67 kB
spectrum_router.c 316 kB
spectrum_router.h 7.3 kB
spectrum_span.c 48 kB
spectrum_span.h 4.1 kB
spectrum_switchdev.c 117 kB
spectrum_switchdev.h 411 B
spectrum_trap.c 54 kB
spectrum_trap.h 1.1 kB
trap.h 5.6 kB
txheader.h 887 B

Linux v6.6.1 - mlxsw

# SPDX-License-Identifier: GPL-2.0-only
#
# Mellanox switch drivers configuration
#

config MLXSW_CORE
	tristate "Mellanox Technologies Switch ASICs support"
	select NET_DEVLINK
	select MLXFW
	select AUXILIARY_BUS
	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.

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.

config MLXSW_CORE_THERMAL
	bool "Thermal zone support for Mellanox Technologies Switch ASICs"
	depends on MLXSW_CORE && THERMAL
	default y
	help
	 Say Y here if you want to automatically control fans speed according
	 ambient temperature reported by ASIC.

config MLXSW_PCI
	tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
	depends on PCI && HAS_IOMEM && MLXSW_CORE
	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.

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.

config MLXSW_SPECTRUM
	tristate "Mellanox Technologies Spectrum family support"
	depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
	depends on PSAMPLE || PSAMPLE=n
	depends on BRIDGE || BRIDGE=n
	depends on IPV6 || IPV6=n
	depends on NET_IPGRE || NET_IPGRE=n
	depends on IPV6_GRE || IPV6_GRE=n
	depends on VXLAN || VXLAN=n
	depends on PTP_1588_CLOCK_OPTIONAL
	select GENERIC_ALLOCATOR
	select PARMAN
	select OBJAGG
	select NET_PTP_CLASSIFY if PTP_1588_CLOCK
	default m
	help
	  This driver supports Mellanox Technologies
	  Spectrum/Spectrum-2/Spectrum-3/Spectrum-4 Ethernet Switch ASICs.

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

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.

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.