xref: /linux/drivers/net/ethernet/sfc/Kconfig (revision 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ae99b639STobias Klauser#
3ae99b639STobias Klauser# Solarflare device configuration
4ae99b639STobias Klauser#
5ae99b639STobias Klauser
6ae99b639STobias Klauserconfig NET_VENDOR_SOLARFLARE
7ae99b639STobias Klauser	bool "Solarflare devices"
8ae99b639STobias Klauser	default y
9a7f7f624SMasahiro Yamada	help
10ae99b639STobias Klauser	  If you have a network (Ethernet) card belonging to this class, say Y.
11ae99b639STobias Klauser
12ae99b639STobias Klauser	  Note that the answer to this question doesn't directly affect the
13ae99b639STobias Klauser	  kernel: saying N will just cause the configurator to skip all
14ae99b639STobias Klauser	  the questions about Solarflare devices. If you say Y, you will be asked
15ae99b639STobias Klauser	  for your specific card in the following questions.
16ae99b639STobias Klauser
17ae99b639STobias Klauserif NET_VENDOR_SOLARFLARE
18ae99b639STobias Klauser
19874aeea5SJeff Kirsherconfig SFC
200c38a5bdSMartin Habets	tristate "Solarflare SFC9100/EF100-family support"
21ff33c0e1SBen Hutchings	depends on PCI
22e5f31552SArnd Bergmann	depends on PTP_1588_CLOCK_OPTIONAL
23874aeea5SJeff Kirsher	select MDIO
24874aeea5SJeff Kirsher	select CRC32
25fa34a514SAlejandro Lucero	select NET_DEVLINK
26a7f7f624SMasahiro Yamada	help
279a12a306SBen Hutchings	  This driver supports 10/40-gigabit Ethernet cards based on
280c38a5bdSMartin Habets	  the Solarflare SFC9100-family controllers.
29874aeea5SJeff Kirsher
3051b35a45SEdward Cree	  It also supports 10/25/40/100-gigabit Ethernet cards based
3151b35a45SEdward Cree	  on the Solarflare EF100 networking IP in Xilinx FPGAs.
3251b35a45SEdward Cree
33874aeea5SJeff Kirsher	  To compile this driver as a module, choose M here.  The module
34874aeea5SJeff Kirsher	  will be called sfc.
35874aeea5SJeff Kirsherconfig SFC_MTD
3665d4b471SMartin Habets	bool "Solarflare SFC9100-family MTD support"
37874aeea5SJeff Kirsher	depends on SFC && MTD && !(SFC=y && MTD=m)
38874aeea5SJeff Kirsher	default y
39a7f7f624SMasahiro Yamada	help
4094813b86SBen Hutchings	  This exposes the on-board flash and/or EEPROM as MTD devices
41*5ea73bf3SEdward Cree	  (e.g. /dev/mtd1).  This is required to update the boot
42*5ea73bf3SEdward Cree	  configuration under Linux, or use some older userland tools to
43*5ea73bf3SEdward Cree	  update the firmware.
4455c5e0f8SBen Hutchingsconfig SFC_MCDI_MON
45f62a0745SMartin Habets	bool "Solarflare SFC9100-family hwmon support"
4655c5e0f8SBen Hutchings	depends on SFC && HWMON && !(SFC=y && HWMON=m)
4755c5e0f8SBen Hutchings	default y
48a7f7f624SMasahiro Yamada	help
4955c5e0f8SBen Hutchings	  This exposes the on-board firmware-managed sensors as a
5055c5e0f8SBen Hutchings	  hardware monitor device.
51cd2d5b52SBen Hutchingsconfig SFC_SRIOV
52dfb1cfbdSMartin Habets	bool "Solarflare SFC9100-family SR-IOV support"
53cd2d5b52SBen Hutchings	depends on SFC && PCI_IOV
5440cba833SArnd Bergmann	depends on INET
55cd2d5b52SBen Hutchings	default y
56a7f7f624SMasahiro Yamada	help
570c38a5bdSMartin Habets	  This enables support for the Single Root I/O Virtualization
58cd2d5b52SBen Hutchings	  features, allowing accelerated network performance in
59cd2d5b52SBen Hutchings	  virtualized environments.
6075aba2a5SEdward Creeconfig SFC_MCDI_LOGGING
6158b6b3d5SMartin Habets	bool "Solarflare SFC9100-family MCDI logging support"
6275aba2a5SEdward Cree	depends on SFC
6375aba2a5SEdward Cree	default y
64a7f7f624SMasahiro Yamada	help
6575aba2a5SEdward Cree	  This enables support for tracing of MCDI (Management-Controller-to-
6675aba2a5SEdward Cree	  Driver-Interface) commands and responses, allowing debugging of
67e7fef9b4SEdward Cree	  driver/firmware interaction.  The tracing is actually enabled by
68e7fef9b4SEdward Cree	  a sysfs file 'mcdi_logging' under the PCI device.
69ae99b639STobias Klauser
70ae99b639STobias Klausersource "drivers/net/ethernet/sfc/falcon/Kconfig"
71c5a13c31SMartin Habetssource "drivers/net/ethernet/sfc/siena/Kconfig"
72ae99b639STobias Klauser
73ae99b639STobias Klauserendif # NET_VENDOR_SOLARFLARE
74