hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# SPDX-License-Identifier: GPL-2.0-only
#
# Solarflare device configuration
#
 
config NET_VENDOR_SOLARFLARE
   bool "Solarflare devices"
   default y
   help
     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
 
config SFC
   tristate "Solarflare SFC9000/SFC9100/EF100-family support"
   depends on PCI
   select MDIO
   select CRC32
   imply PTP_1588_CLOCK
   help
     This driver supports 10/40-gigabit Ethernet cards based on
     the Solarflare SFC9000-family and SFC9100-family controllers.
 
     It also supports 10/25/40/100-gigabit Ethernet cards based
     on the Solarflare EF100 networking IP in Xilinx FPGAs.
 
     To compile this driver as a module, choose M here.  The module
     will be called sfc.
config SFC_MTD
   bool "Solarflare SFC9000/SFC9100-family MTD support"
   depends on SFC && MTD && !(SFC=y && MTD=m)
   default y
   help
     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.
config SFC_MCDI_MON
   bool "Solarflare SFC9000/SFC9100-family hwmon support"
   depends on SFC && HWMON && !(SFC=y && HWMON=m)
   default y
   help
     This exposes the on-board firmware-managed sensors as a
     hardware monitor device.
config SFC_SRIOV
   bool "Solarflare SFC9000-family SR-IOV support"
   depends on SFC && PCI_IOV
   default y
   help
     This enables support for the SFC9000 I/O Virtualization
     features, allowing accelerated network performance in
     virtualized environments.
config SFC_MCDI_LOGGING
   bool "Solarflare SFC9000/SFC9100-family MCDI logging support"
   depends on SFC
   default y
   help
     This enables support for tracing of MCDI (Management-Controller-to-
     Driver-Interface) commands and responses, allowing debugging of
     driver/firmware interaction.  The tracing is actually enabled by
     a sysfs file 'mcdi_logging' under the PCI device.
 
source "drivers/net/ethernet/sfc/falcon/Kconfig"
 
endif # NET_VENDOR_SOLARFLARE