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