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