xref: /openbmc/linux/drivers/net/ethernet/sfc/Kconfig (revision 3e30a927)
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 SFC9000/SFC9100-family support"
21	depends on PCI
22	select MDIO
23	select CRC32
24	imply PTP_1588_CLOCK
25	---help---
26	  This driver supports 10/40-gigabit Ethernet cards based on
27	  the Solarflare SFC9000-family and SFC9100-family controllers.
28
29	  To compile this driver as a module, choose M here.  The module
30	  will be called sfc.
31config SFC_MTD
32	bool "Solarflare SFC9000/SFC9100-family MTD support"
33	depends on SFC && MTD && !(SFC=y && MTD=m)
34	default y
35	---help---
36	  This exposes the on-board flash and/or EEPROM as MTD devices
37	  (e.g. /dev/mtd1).  This is required to update the firmware or
38	  the boot configuration under Linux.
39config SFC_MCDI_MON
40	bool "Solarflare SFC9000/SFC9100-family hwmon support"
41	depends on SFC && HWMON && !(SFC=y && HWMON=m)
42	default y
43	---help---
44	  This exposes the on-board firmware-managed sensors as a
45	  hardware monitor device.
46config SFC_SRIOV
47	bool "Solarflare SFC9000-family SR-IOV support"
48	depends on SFC && PCI_IOV
49	default y
50	---help---
51	  This enables support for the SFC9000 I/O Virtualization
52	  features, allowing accelerated network performance in
53	  virtualized environments.
54config SFC_MCDI_LOGGING
55	bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
56	depends on SFC
57	default y
58	---help---
59	  This enables support for tracing of MCDI (Management-Controller-to-
60	  Driver-Interface) commands and responses, allowing debugging of
61	  driver/firmware interaction.  The tracing is actually enabled by
62	  a sysfs file 'mcdi_logging' under the PCI device.
63
64source "drivers/net/ethernet/sfc/falcon/Kconfig"
65
66endif # NET_VENDOR_SOLARFLARE
67