forked from Minki/linux
cd2d5b529c
On the SFC9000 family, each port has 1024 Virtual Interfaces (VIs), each with an RX queue, a TX queue, an event queue and a mailbox register. These may be assigned to up to 127 SR-IOV virtual functions per port, with up to 64 VIs per VF. We allocate an extra channel (IRQ and event queue only) to receive requests from VF drivers. There is a per-port limit of 4 concurrent RX queue flushes, and queue flushes may be initiated by the MC in response to a Function Level Reset (FLR) of a VF. Therefore, when SR-IOV is in use, we submit all flush requests via the MC. The RSS indirection table is shared with VFs, so the number of RX queues used in the PF is limited to the number of VIs per VF. This is almost entirely the work of Steve Hodgson, formerly shodgson@solarflare.com. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
config SFC
|
|
tristate "Solarflare SFC4000/SFC9000-family support"
|
|
depends on PCI && INET
|
|
select MDIO
|
|
select CRC32
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
---help---
|
|
This driver supports 10-gigabit Ethernet cards based on
|
|
the Solarflare SFC4000 and SFC9000-family controllers.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called sfc.
|
|
config SFC_MTD
|
|
bool "Solarflare SFC4000/SFC9000-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-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.
|