2008-04-27 18:55:59 +07:00
|
|
|
config SFC
|
2011-07-13 22:10:02 +07:00
|
|
|
tristate "Solarflare SFC4000/SFC9000-family support"
|
2012-11-16 19:47:39 +07:00
|
|
|
depends on PCI
|
2009-04-29 15:05:08 +07:00
|
|
|
select MDIO
|
2008-04-27 18:55:59 +07:00
|
|
|
select CRC32
|
2008-05-31 04:27:04 +07:00
|
|
|
select I2C
|
|
|
|
select I2C_ALGOBIT
|
2012-11-01 18:22:22 +07:00
|
|
|
select PTP_1588_CLOCK
|
2011-05-13 14:17:42 +07:00
|
|
|
---help---
|
2008-04-27 18:55:59 +07:00
|
|
|
This driver supports 10-gigabit Ethernet cards based on
|
2011-07-13 22:21:24 +07:00
|
|
|
the Solarflare SFC4000 and SFC9000-family controllers.
|
2008-04-27 18:55:59 +07:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
|
|
will be called sfc.
|
2008-11-05 03:34:28 +07:00
|
|
|
config SFC_MTD
|
2011-07-13 22:10:02 +07:00
|
|
|
bool "Solarflare SFC4000/SFC9000-family MTD support"
|
2008-11-20 19:17:42 +07:00
|
|
|
depends on SFC && MTD && !(SFC=y && MTD=m)
|
2008-11-05 03:34:28 +07:00
|
|
|
default y
|
2011-05-13 14:17:42 +07:00
|
|
|
---help---
|
2012-01-07 05:47:17 +07:00
|
|
|
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.
|
2012-01-07 03:25:39 +07:00
|
|
|
config SFC_MCDI_MON
|
|
|
|
bool "Solarflare SFC9000-family hwmon support"
|
|
|
|
depends on SFC && HWMON && !(SFC=y && HWMON=m)
|
|
|
|
default y
|
2013-03-15 18:59:30 +07:00
|
|
|
---help---
|
2012-01-07 03:25:39 +07:00
|
|
|
This exposes the on-board firmware-managed sensors as a
|
|
|
|
hardware monitor device.
|
sfc: Add SR-IOV back-end support for SFC9000 family
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>
2012-02-14 07:48:07 +07:00
|
|
|
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.
|