Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Solarflare device configuration
0004 #
0005 
0006 config NET_VENDOR_SOLARFLARE
0007         bool "Solarflare devices"
0008         default y
0009         help
0010           If you have a network (Ethernet) card belonging to this class, say Y.
0011 
0012           Note that the answer to this question doesn't directly affect the
0013           kernel: saying N will just cause the configurator to skip all
0014           the questions about Solarflare devices. If you say Y, you will be asked
0015           for your specific card in the following questions.
0016 
0017 if NET_VENDOR_SOLARFLARE
0018 
0019 config SFC
0020         tristate "Solarflare SFC9100/EF100-family support"
0021         depends on PCI
0022         depends on PTP_1588_CLOCK_OPTIONAL
0023         select MDIO
0024         select CRC32
0025         help
0026           This driver supports 10/40-gigabit Ethernet cards based on
0027           the Solarflare SFC9100-family controllers.
0028 
0029           It also supports 10/25/40/100-gigabit Ethernet cards based
0030           on the Solarflare EF100 networking IP in Xilinx FPGAs.
0031 
0032           To compile this driver as a module, choose M here.  The module
0033           will be called sfc.
0034 config SFC_MTD
0035         bool "Solarflare SFC9100-family MTD support"
0036         depends on SFC && MTD && !(SFC=y && MTD=m)
0037         default y
0038         help
0039           This exposes the on-board flash and/or EEPROM as MTD devices
0040           (e.g. /dev/mtd1).  This is required to update the firmware or
0041           the boot configuration under Linux.
0042 config SFC_MCDI_MON
0043         bool "Solarflare SFC9100-family hwmon support"
0044         depends on SFC && HWMON && !(SFC=y && HWMON=m)
0045         default y
0046         help
0047           This exposes the on-board firmware-managed sensors as a
0048           hardware monitor device.
0049 config SFC_SRIOV
0050         bool "Solarflare SFC9100-family SR-IOV support"
0051         depends on SFC && PCI_IOV
0052         default y
0053         help
0054           This enables support for the Single Root I/O Virtualization
0055           features, allowing accelerated network performance in
0056           virtualized environments.
0057 config SFC_MCDI_LOGGING
0058         bool "Solarflare SFC9100-family MCDI logging support"
0059         depends on SFC
0060         default y
0061         help
0062           This enables support for tracing of MCDI (Management-Controller-to-
0063           Driver-Interface) commands and responses, allowing debugging of
0064           driver/firmware interaction.  The tracing is actually enabled by
0065           a sysfs file 'mcdi_logging' under the PCI device.
0066 
0067 source "drivers/net/ethernet/sfc/falcon/Kconfig"
0068 source "drivers/net/ethernet/sfc/siena/Kconfig"
0069 
0070 endif # NET_VENDOR_SOLARFLARE