18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Solarflare device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_SOLARFLARE
78c2ecf20Sopenharmony_ci	bool "Solarflare devices"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Note that the answer to this question doesn't directly affect the
138c2ecf20Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
148c2ecf20Sopenharmony_ci	  the questions about Solarflare devices. If you say Y, you will be asked
158c2ecf20Sopenharmony_ci	  for your specific card in the following questions.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciif NET_VENDOR_SOLARFLARE
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig SFC
208c2ecf20Sopenharmony_ci	tristate "Solarflare SFC9000/SFC9100/EF100-family support"
218c2ecf20Sopenharmony_ci	depends on PCI
228c2ecf20Sopenharmony_ci	select MDIO
238c2ecf20Sopenharmony_ci	select CRC32
248c2ecf20Sopenharmony_ci	imply PTP_1588_CLOCK
258c2ecf20Sopenharmony_ci	help
268c2ecf20Sopenharmony_ci	  This driver supports 10/40-gigabit Ethernet cards based on
278c2ecf20Sopenharmony_ci	  the Solarflare SFC9000-family and SFC9100-family controllers.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	  It also supports 10/25/40/100-gigabit Ethernet cards based
308c2ecf20Sopenharmony_ci	  on the Solarflare EF100 networking IP in Xilinx FPGAs.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here.  The module
338c2ecf20Sopenharmony_ci	  will be called sfc.
348c2ecf20Sopenharmony_ciconfig SFC_MTD
358c2ecf20Sopenharmony_ci	bool "Solarflare SFC9000/SFC9100-family MTD support"
368c2ecf20Sopenharmony_ci	depends on SFC && MTD && !(SFC=y && MTD=m)
378c2ecf20Sopenharmony_ci	default y
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  This exposes the on-board flash and/or EEPROM as MTD devices
408c2ecf20Sopenharmony_ci	  (e.g. /dev/mtd1).  This is required to update the firmware or
418c2ecf20Sopenharmony_ci	  the boot configuration under Linux.
428c2ecf20Sopenharmony_ciconfig SFC_MCDI_MON
438c2ecf20Sopenharmony_ci	bool "Solarflare SFC9000/SFC9100-family hwmon support"
448c2ecf20Sopenharmony_ci	depends on SFC && HWMON && !(SFC=y && HWMON=m)
458c2ecf20Sopenharmony_ci	default y
468c2ecf20Sopenharmony_ci	help
478c2ecf20Sopenharmony_ci	  This exposes the on-board firmware-managed sensors as a
488c2ecf20Sopenharmony_ci	  hardware monitor device.
498c2ecf20Sopenharmony_ciconfig SFC_SRIOV
508c2ecf20Sopenharmony_ci	bool "Solarflare SFC9000-family SR-IOV support"
518c2ecf20Sopenharmony_ci	depends on SFC && PCI_IOV
528c2ecf20Sopenharmony_ci	default y
538c2ecf20Sopenharmony_ci	help
548c2ecf20Sopenharmony_ci	  This enables support for the SFC9000 I/O Virtualization
558c2ecf20Sopenharmony_ci	  features, allowing accelerated network performance in
568c2ecf20Sopenharmony_ci	  virtualized environments.
578c2ecf20Sopenharmony_ciconfig SFC_MCDI_LOGGING
588c2ecf20Sopenharmony_ci	bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
598c2ecf20Sopenharmony_ci	depends on SFC
608c2ecf20Sopenharmony_ci	default y
618c2ecf20Sopenharmony_ci	help
628c2ecf20Sopenharmony_ci	  This enables support for tracing of MCDI (Management-Controller-to-
638c2ecf20Sopenharmony_ci	  Driver-Interface) commands and responses, allowing debugging of
648c2ecf20Sopenharmony_ci	  driver/firmware interaction.  The tracing is actually enabled by
658c2ecf20Sopenharmony_ci	  a sysfs file 'mcdi_logging' under the PCI device.
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_cisource "drivers/net/ethernet/sfc/falcon/Kconfig"
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ciendif # NET_VENDOR_SOLARFLARE
70