Kconfig 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #
  2. # Mellanox switch drivers configuration
  3. #
  4. config MLXSW_CORE
  5. tristate "Mellanox Technologies Switch ASICs support"
  6. depends on MAY_USE_DEVLINK
  7. ---help---
  8. This driver supports Mellanox Technologies Switch ASICs family.
  9. To compile this driver as a module, choose M here: the
  10. module will be called mlxsw_core.
  11. config MLXSW_CORE_HWMON
  12. bool "HWMON support for Mellanox Technologies Switch ASICs"
  13. depends on MLXSW_CORE && HWMON
  14. depends on !(MLXSW_CORE=y && HWMON=m)
  15. default y
  16. ---help---
  17. Say Y here if you want to expose HWMON interface on mlxsw devices.
  18. config MLXSW_PCI
  19. tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
  20. depends on PCI && HAS_DMA && HAS_IOMEM && MLXSW_CORE
  21. default m
  22. ---help---
  23. This is PCI bus implementation for Mellanox Technologies Switch ASICs.
  24. To compile this driver as a module, choose M here: the
  25. module will be called mlxsw_pci.
  26. config MLXSW_SWITCHX2
  27. tristate "Mellanox Technologies SwitchX-2 support"
  28. depends on MLXSW_CORE && NET_SWITCHDEV
  29. default m
  30. ---help---
  31. This driver supports Mellanox Technologies SwitchX-2 Ethernet
  32. Switch ASICs.
  33. To compile this driver as a module, choose M here: the
  34. module will be called mlxsw_switchx2.
  35. config MLXSW_SPECTRUM
  36. tristate "Mellanox Technologies Spectrum support"
  37. depends on MLXSW_CORE && NET_SWITCHDEV && VLAN_8021Q
  38. default m
  39. ---help---
  40. This driver supports Mellanox Technologies Spectrum Ethernet
  41. Switch ASICs.
  42. To compile this driver as a module, choose M here: the
  43. module will be called mlxsw_spectrum.
  44. config MLXSW_SPECTRUM_DCB
  45. bool "Data Center Bridging (DCB) support"
  46. depends on MLXSW_SPECTRUM && DCB
  47. default y
  48. ---help---
  49. Say Y here if you want to use Data Center Bridging (DCB) in the
  50. driver.