Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Solarflare device configuration
  4. #
  5. config NET_VENDOR_SOLARFLARE
  6. bool "Solarflare devices"
  7. default y
  8. help
  9. If you have a network (Ethernet) card belonging to this class, say Y.
  10. Note that the answer to this question doesn't directly affect the
  11. kernel: saying N will just cause the configurator to skip all
  12. the questions about Solarflare devices. If you say Y, you will be asked
  13. for your specific card in the following questions.
  14. if NET_VENDOR_SOLARFLARE
  15. config SFC
  16. tristate "Solarflare SFC9100/EF100-family support"
  17. depends on PCI
  18. depends on PTP_1588_CLOCK_OPTIONAL
  19. select MDIO
  20. select CRC32
  21. help
  22. This driver supports 10/40-gigabit Ethernet cards based on
  23. the Solarflare SFC9100-family controllers.
  24. It also supports 10/25/40/100-gigabit Ethernet cards based
  25. on the Solarflare EF100 networking IP in Xilinx FPGAs.
  26. To compile this driver as a module, choose M here. The module
  27. will be called sfc.
  28. config SFC_MTD
  29. bool "Solarflare SFC9100-family MTD support"
  30. depends on SFC && MTD && !(SFC=y && MTD=m)
  31. default y
  32. help
  33. This exposes the on-board flash and/or EEPROM as MTD devices
  34. (e.g. /dev/mtd1). This is required to update the firmware or
  35. the boot configuration under Linux.
  36. config SFC_MCDI_MON
  37. bool "Solarflare SFC9100-family hwmon support"
  38. depends on SFC && HWMON && !(SFC=y && HWMON=m)
  39. default y
  40. help
  41. This exposes the on-board firmware-managed sensors as a
  42. hardware monitor device.
  43. config SFC_SRIOV
  44. bool "Solarflare SFC9100-family SR-IOV support"
  45. depends on SFC && PCI_IOV
  46. default y
  47. help
  48. This enables support for the Single Root I/O Virtualization
  49. features, allowing accelerated network performance in
  50. virtualized environments.
  51. config SFC_MCDI_LOGGING
  52. bool "Solarflare SFC9100-family MCDI logging support"
  53. depends on SFC
  54. default y
  55. help
  56. This enables support for tracing of MCDI (Management-Controller-to-
  57. Driver-Interface) commands and responses, allowing debugging of
  58. driver/firmware interaction. The tracing is actually enabled by
  59. a sysfs file 'mcdi_logging' under the PCI device.
  60. source "drivers/net/ethernet/sfc/falcon/Kconfig"
  61. source "drivers/net/ethernet/sfc/siena/Kconfig"
  62. endif # NET_VENDOR_SOLARFLARE