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