Kconfig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 SFC9000/SFC9100-family support"
  17. depends on PCI
  18. select MDIO
  19. select CRC32
  20. select I2C
  21. select I2C_ALGOBIT
  22. imply PTP_1588_CLOCK
  23. ---help---
  24. This driver supports 10/40-gigabit Ethernet cards based on
  25. the Solarflare SFC9000-family and SFC9100-family controllers.
  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 SFC9000/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 SFC9000/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 SFC9000-family SR-IOV support"
  45. depends on SFC && PCI_IOV
  46. default y
  47. ---help---
  48. This enables support for the SFC9000 I/O Virtualization
  49. features, allowing accelerated network performance in
  50. virtualized environments.
  51. config SFC_MCDI_LOGGING
  52. bool "Solarflare SFC9000/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. endif # NET_VENDOR_SOLARFLARE