| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Solarflare device configuration |
| 4 |
# |
| 5 |
|
| 6 |
config 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 |
|
| 17 |
if NET_VENDOR_SOLARFLARE |
| 18 |
|
| 19 |
config 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 |
select NET_DEVLINK |
| 26 |
help |
| 27 |
This driver supports 10/40-gigabit Ethernet cards based on |
| 28 |
the Solarflare SFC9100-family controllers. |
| 29 |
|
| 30 |
It also supports 10/25/40/100-gigabit Ethernet cards based |
| 31 |
on the Solarflare EF100 networking IP in Xilinx FPGAs. |
| 32 |
|
| 33 |
To compile this driver as a module, choose M here. The module |
| 34 |
will be called sfc. |
| 35 |
config SFC_MTD |
| 36 |
bool "Solarflare SFC9100-family MTD support" |
| 37 |
depends on SFC && MTD && !(SFC=y && MTD=m) |
| 38 |
default y |
| 39 |
help |
| 40 |
This exposes the on-board flash and/or EEPROM as MTD devices |
| 41 |
(e.g. /dev/mtd1). This is required to update the boot |
| 42 |
configuration under Linux, or use some older userland tools to |
| 43 |
update the firmware. |
| 44 |
config SFC_MCDI_MON |
| 45 |
bool "Solarflare SFC9100-family hwmon support" |
| 46 |
depends on SFC && HWMON && !(SFC=y && HWMON=m) |
| 47 |
default y |
| 48 |
help |
| 49 |
This exposes the on-board firmware-managed sensors as a |
| 50 |
hardware monitor device. |
| 51 |
config SFC_SRIOV |
| 52 |
bool "Solarflare SFC9100-family SR-IOV support" |
| 53 |
depends on SFC && PCI_IOV |
| 54 |
depends on INET |
| 55 |
default y |
| 56 |
help |
| 57 |
This enables support for the Single Root I/O Virtualization |
| 58 |
features, allowing accelerated network performance in |
| 59 |
virtualized environments. |
| 60 |
config SFC_MCDI_LOGGING |
| 61 |
bool "Solarflare SFC9100-family MCDI logging support" |
| 62 |
depends on SFC |
| 63 |
default y |
| 64 |
help |
| 65 |
This enables support for tracing of MCDI (Management-Controller-to- |
| 66 |
Driver-Interface) commands and responses, allowing debugging of |
| 67 |
driver/firmware interaction. The tracing is actually enabled by |
| 68 |
a sysfs file 'mcdi_logging' under the PCI device. |
| 69 |
|
| 70 |
source "drivers/net/ethernet/sfc/falcon/Kconfig" |
| 71 |
source "drivers/net/ethernet/sfc/siena/Kconfig" |
| 72 |
|
| 73 |
endif # NET_VENDOR_SOLARFLARE |