Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Mellanox driver configuration
  4. #
  5. config MLX4_EN
  6. tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
  7. depends on PCI && NETDEVICES && ETHERNET && INET
  8. depends on PTP_1588_CLOCK_OPTIONAL
  9. select MLX4_CORE
  10. help
  11. This driver supports Mellanox Technologies ConnectX Ethernet
  12. devices.
  13. config MLX4_EN_DCB
  14. bool "Data Center Bridging (DCB) Support"
  15. default y
  16. depends on MLX4_EN && DCB
  17. help
  18. Say Y here if you want to use Data Center Bridging (DCB) in the
  19. driver.
  20. If set to N, will not be able to configure QoS and ratelimit attributes.
  21. This flag is depended on the kernel's DCB support.
  22. If unsure, set to Y
  23. config MLX4_CORE
  24. tristate
  25. depends on PCI
  26. select NET_DEVLINK
  27. default n
  28. config MLX4_DEBUG
  29. bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
  30. depends on MLX4_CORE
  31. default y
  32. help
  33. This option causes debugging code to be compiled into the
  34. mlx4_core driver. The output can be turned on via the
  35. debug_level module parameter (which can also be set after
  36. the driver is loaded through sysfs).
  37. config MLX4_CORE_GEN2
  38. bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE)
  39. depends on MLX4_CORE
  40. default y
  41. help
  42. Say Y here if you want to use old gen2 Mellanox devices in the
  43. driver.