linux-stable/drivers/net/ethernet/sfc
Ben Hutchings f2b0befd1d sfc: Update MCDI protocol definitions for EF10
EF10 controllers do not have shared memory for communication with the
MC; instead it reads requests and writes responses in host memory,
which allows for longer messages.  It is also responsible for all
datapath control operations and hardware resource allocation, which
requires a large number of new commands and adds more possible error
cases.  MCDI v2 extends the message header to support this.

Update the MCDI protocol definition header to include v2 lengths,
errors and messages, and a few definitions specific to the
SFC9100 family (codenames Farmingdale and Huntington) which is
the first generation of EF10.

Some messages have been extended, so adjust the code accordingly:
- The request for MC_CMD_DRV_ATTACH now includes a datapath firmware
  ID.  This is ignored by Siena but we should fill it in anyway,
  initially always specifying low-latency datapath.
- The response for MC_CMD_GET_LOOPBACK_MODES now includes a 40G
  field.  Accept shorter responses that don't include it.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-08-21 20:20:37 +01:00
..
bitfield.h sfc: Add parentheses around use of bitfield macro arguments 2012-10-02 01:58:39 +01:00
efx.c sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
efx.h sfc: Refactor queue teardown sequence to allow for EF10 flush behaviour 2013-08-21 19:49:23 +01:00
enum.h sfc: Add AER and EEH support for Siena 2013-03-07 20:22:04 +00:00
ethtool.c sfc: Move details of a Falcon bug workaround out of ethtool.c 2013-08-21 16:35:06 +01:00
falcon.c sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
falcon_boards.c sfc: Change state names to be clearer, and comment them 2012-08-24 20:10:18 +01:00
farch.c sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
farch_regs.h sfc: Rename Falcon-architecture register definitions 2013-08-21 19:44:20 +01:00
filter.c sfc: Rename Falcon-architecture register definitions 2013-08-21 19:44:20 +01:00
filter.h sfc: Remove EFX_FILTER_FLAG_RX_OVERRIDE_IP 2012-10-02 01:58:41 +01:00
io.h sfc: const-qualify source pointers for MMIO write functions 2013-08-21 14:20:19 +01:00
Kconfig sfc: Fix Kconfig typo "----help---" 2013-03-18 10:50:23 +01:00
Makefile sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
mcdi.c sfc: Update MCDI protocol definitions for EF10 2013-08-21 20:20:37 +01:00
mcdi.h sfc: Translate MCDI error numbers received in events 2013-08-21 20:20:36 +01:00
mcdi_mon.c sfc: Add GFP flags to efx_nic_alloc_buffer() and make most callers allow blocking 2013-08-21 19:43:47 +01:00
mcdi_pcol.h sfc: Update MCDI protocol definitions for EF10 2013-08-21 20:20:37 +01:00
mcdi_port.c sfc: Update MCDI protocol definitions for EF10 2013-08-21 20:20:37 +01:00
mdio_10g.c
mdio_10g.h
mtd.c sfc: Expose FPGA bitfile partition through MTD 2012-09-19 02:56:24 +01:00
net_driver.h sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
nic.c sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
nic.h sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
phy.h sfc: Collect all MCDI port functions into mcdi_port.c 2013-08-21 19:43:03 +01:00
ptp.c sfc: Rename Falcon-architecture register definitions 2013-08-21 19:44:20 +01:00
qt202x_phy.c sfc: Implement module EEPROM access for SFE4002 and SFN4112F 2012-05-10 03:10:54 +01:00
rx.c sfc: Refactor queue teardown sequence to allow for EF10 flush behaviour 2013-08-21 19:49:23 +01:00
selftest.c sfc: Remove efx_process_channel_now() 2013-08-21 19:44:31 +01:00
selftest.h sfc: Run event/IRQ self-test asynchronously when interface is brought up 2012-03-06 18:14:15 +00:00
siena.c sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
siena_sriov.c sfc: Move and rename Falcon/Siena common NIC operations 2013-08-21 20:19:05 +01:00
spi.h
tenxpress.c
tx.c sfc: Refactor queue teardown sequence to allow for EF10 flush behaviour 2013-08-21 19:49:23 +01:00
txc43128_phy.c
vfdi.h sfc: Specify that the VFDI status page has page alignment and size 2012-02-22 20:48:07 +00:00
workarounds.h sfc: Move details of a Falcon bug workaround out of ethtool.c 2013-08-21 16:35:06 +01:00