Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 firmware or
  36. the boot configuration under Linux.
  37. config SFC_MCDI_MON
  38. bool "Solarflare SFC9100-family hwmon support"
  39. depends on SFC && HWMON && !(SFC=y && HWMON=m)
  40. default y
  41. help
  42. This exposes the on-board firmware-managed sensors as a
  43. hardware monitor device.
  44. config SFC_SRIOV
  45. bool "Solarflare SFC9100-family SR-IOV support"
  46. depends on SFC && PCI_IOV
  47. depends on INET
  48. default y
  49. help
  50. This enables support for the Single Root I/O Virtualization
  51. features, allowing accelerated network performance in
  52. virtualized environments.
  53. config SFC_MCDI_LOGGING
  54. bool "Solarflare SFC9100-family MCDI logging support"
  55. depends on SFC
  56. default y
  57. help
  58. This enables support for tracing of MCDI (Management-Controller-to-
  59. Driver-Interface) commands and responses, allowing debugging of
  60. driver/firmware interaction. The tracing is actually enabled by
  61. a sysfs file 'mcdi_logging' under the PCI device.
  62. source "drivers/net/ethernet/sfc/falcon/Kconfig"
  63. source "drivers/net/ethernet/sfc/siena/Kconfig"
  64. endif # NET_VENDOR_SOLARFLARE