Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_CORE_THERMAL
  19. bool "Thermal zone support for Mellanox Technologies Switch ASICs"
  20. depends on MLXSW_CORE && THERMAL
  21. depends on !(MLXSW_CORE=y && THERMAL=m)
  22. default y
  23. ---help---
  24. Say Y here if you want to automatically control fans speed according
  25. ambient temperature reported by ASIC.
  26. config MLXSW_PCI
  27. tristate "PCI bus implementation for Mellanox Technologies Switch ASICs"
  28. depends on PCI && HAS_IOMEM && MLXSW_CORE
  29. default m
  30. ---help---
  31. This is PCI bus implementation for Mellanox Technologies Switch ASICs.
  32. To compile this driver as a module, choose M here: the
  33. module will be called mlxsw_pci.
  34. config MLXSW_I2C
  35. tristate "I2C bus implementation for Mellanox Technologies Switch ASICs"
  36. depends on I2C && MLXSW_CORE
  37. default m
  38. ---help---
  39. This is I2C bus implementation for Mellanox Technologies Switch ASICs.
  40. To compile this driver as a module, choose M here: the
  41. module will be called mlxsw_i2c.
  42. config MLXSW_SWITCHIB
  43. tristate "Mellanox Technologies SwitchIB and SwitchIB-2 support"
  44. depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
  45. default m
  46. ---help---
  47. This driver supports Mellanox Technologies SwitchIB and SwitchIB-2
  48. Infiniband Switch ASICs.
  49. To compile this driver as a module, choose M here: the
  50. module will be called mlxsw_switchib.
  51. config MLXSW_SWITCHX2
  52. tristate "Mellanox Technologies SwitchX-2 support"
  53. depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV
  54. default m
  55. ---help---
  56. This driver supports Mellanox Technologies SwitchX-2 Ethernet
  57. Switch ASICs.
  58. To compile this driver as a module, choose M here: the
  59. module will be called mlxsw_switchx2.
  60. config MLXSW_SPECTRUM
  61. tristate "Mellanox Technologies Spectrum support"
  62. depends on MLXSW_CORE && MLXSW_PCI && NET_SWITCHDEV && VLAN_8021Q
  63. depends on PSAMPLE || PSAMPLE=n
  64. depends on BRIDGE || BRIDGE=n
  65. depends on IPV6 || IPV6=n
  66. depends on NET_IPGRE || NET_IPGRE=n
  67. depends on IPV6_GRE || IPV6_GRE=n
  68. select GENERIC_ALLOCATOR
  69. select PARMAN
  70. select MLXFW
  71. default m
  72. ---help---
  73. This driver supports Mellanox Technologies Spectrum Ethernet
  74. Switch ASICs.
  75. To compile this driver as a module, choose M here: the
  76. module will be called mlxsw_spectrum.
  77. config MLXSW_SPECTRUM_DCB
  78. bool "Data Center Bridging (DCB) support"
  79. depends on MLXSW_SPECTRUM && DCB
  80. default y
  81. ---help---
  82. Say Y here if you want to use Data Center Bridging (DCB) in the
  83. driver.
  84. config MLXSW_MINIMAL
  85. tristate "Mellanox Technologies minimal I2C support"
  86. depends on MLXSW_CORE && MLXSW_I2C
  87. default m
  88. ---help---
  89. This driver supports I2C access for Mellanox Technologies Switch
  90. ASICs.
  91. To compile this driver as a module, choose M here: the
  92. module will be called mlxsw_minimal.