Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. select NET_DEVLINK
  22. help
  23. This driver supports 10/40-gigabit Ethernet cards based on
  24. the Solarflare SFC9100-family controllers.
  25. It also supports 10/25/40/100-gigabit Ethernet cards based
  26. on the Solarflare EF100 networking IP in Xilinx FPGAs.
  27. To compile this driver as a module, choose M here. The module
  28. will be called sfc.
  29. config SFC_MTD
  30. bool "Solarflare SFC9100-family MTD support"
  31. depends on SFC && MTD && !(SFC=y && MTD=m)
  32. default y
  33. help
  34. This exposes the on-board flash and/or EEPROM as MTD devices
  35. (e.g. /dev/mtd1). This is required to update the boot
  36. configuration under Linux, or use some older userland tools to
  37. update the firmware.
  38. config SFC_MCDI_MON
  39. bool "Solarflare SFC9100-family hwmon support"
  40. depends on SFC && HWMON && !(SFC=y && HWMON=m)
  41. default y
  42. help
  43. This exposes the on-board firmware-managed sensors as a
  44. hardware monitor device.
  45. config SFC_SRIOV
  46. bool "Solarflare SFC9100-family SR-IOV support"
  47. depends on SFC && PCI_IOV
  48. depends on INET
  49. default y
  50. help
  51. This enables support for the Single Root I/O Virtualization
  52. features, allowing accelerated network performance in
  53. virtualized environments.
  54. config SFC_MCDI_LOGGING
  55. bool "Solarflare SFC9100-family MCDI logging support"
  56. depends on SFC
  57. default y
  58. help
  59. This enables support for tracing of MCDI (Management-Controller-to-
  60. Driver-Interface) commands and responses, allowing debugging of
  61. driver/firmware interaction. The tracing is actually enabled by
  62. a sysfs file 'mcdi_logging' under the PCI device.
  63. source "drivers/net/ethernet/sfc/falcon/Kconfig"
  64. source "drivers/net/ethernet/sfc/siena/Kconfig"
  65. endif # NET_VENDOR_SOLARFLARE