Kconfig 2.2 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2 3 4 5 6 7 8
#
# Solarflare device configuration
#

config NET_VENDOR_SOLARFLARE
	bool "Solarflare devices"
	default y
9
	help
10 11 12 13 14 15 16 17 18
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about Solarflare devices. If you say Y, you will be asked
	  for your specific card in the following questions.

if NET_VENDOR_SOLARFLARE

19
config SFC
E
Edward Cree 已提交
20
	tristate "Solarflare SFC9000/SFC9100/EF100-family support"
21
	depends on PCI
22
	depends on PTP_1588_CLOCK_OPTIONAL
23
	select MDIO
24
	select CRC32
25
	help
26
	  This driver supports 10/40-gigabit Ethernet cards based on
27
	  the Solarflare SFC9000-family and SFC9100-family controllers.
28

E
Edward Cree 已提交
29 30 31
	  It also supports 10/25/40/100-gigabit Ethernet cards based
	  on the Solarflare EF100 networking IP in Xilinx FPGAs.

32 33
	  To compile this driver as a module, choose M here.  The module
	  will be called sfc.
34
config SFC_MTD
35
	bool "Solarflare SFC9000/SFC9100-family MTD support"
B
Ben Hutchings 已提交
36
	depends on SFC && MTD && !(SFC=y && MTD=m)
37
	default y
38
	help
39 40 41
	  This exposes the on-board flash and/or EEPROM as MTD devices
	  (e.g. /dev/mtd1).  This is required to update the firmware or
	  the boot configuration under Linux.
42
config SFC_MCDI_MON
43
	bool "Solarflare SFC9000/SFC9100-family hwmon support"
44 45
	depends on SFC && HWMON && !(SFC=y && HWMON=m)
	default y
46
	help
47 48
	  This exposes the on-board firmware-managed sensors as a
	  hardware monitor device.
49 50 51 52
config SFC_SRIOV
	bool "Solarflare SFC9000-family SR-IOV support"
	depends on SFC && PCI_IOV
	default y
53
	help
54 55 56
	  This enables support for the SFC9000 I/O Virtualization
	  features, allowing accelerated network performance in
	  virtualized environments.
E
Edward Cree 已提交
57 58 59 60
config SFC_MCDI_LOGGING
	bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
	depends on SFC
	default y
61
	help
E
Edward Cree 已提交
62 63
	  This enables support for tracing of MCDI (Management-Controller-to-
	  Driver-Interface) commands and responses, allowing debugging of
64 65
	  driver/firmware interaction.  The tracing is actually enabled by
	  a sysfs file 'mcdi_logging' under the PCI device.
66 67 68 69

source "drivers/net/ethernet/sfc/falcon/Kconfig"

endif # NET_VENDOR_SOLARFLARE