linux/drivers/net/ethernet/sfc
Ben Hutchings c5bb0e9891 sfc: Use proper macros to declare and access MCDI arrays
A few functions are using heap buffers; change them to use stack
buffers as we really don't need to resort to the heap for a 252
byte buffer in process context.

MC_CMD_MEMCPY is quite weird in that it can use inline data placed in
the request buffer after the array of records.  Thus there are two
variable-length arrays and we can't use the normal accessors for
the second.  So we have to use _MCDI_PTR() in efx_sriov_memcpy().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-08-21 16:35:26 +01:00
..
bitfield.h sfc: Add parentheses around use of bitfield macro arguments 2012-10-02 01:58:39 +01:00
efx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-07-03 14:55:13 -07:00
efx.h sfc: Fix EEH with legacy interrupts. 2013-06-24 19:58:25 +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_boards.c sfc: Change state names to be clearer, and comment them 2012-08-24 20:10:18 +01:00
falcon.c sfc: Move more Falcon-specific code and definitions into falcon.c 2013-08-21 16:35:20 +01:00
filter.c sfc: Fix lookup of default RX MAC filters when steered using ethtool 2013-08-21 14:18:12 +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 more Falcon-specific code and definitions into falcon.c 2013-08-21 16:35:20 +01:00
mcdi_mac.c sfc: Use proper macros to declare and access MCDI arrays 2013-08-21 16:35:26 +01:00
mcdi_mon.c sfc: Introduce and use MCDI_DECLARE_BUF macro 2013-08-21 16:35:21 +01:00
mcdi_pcol.h sfc: Introduce and use MCDI_CTL_SDU_LEN_MAX_V1 macro for Siena-specific code 2013-08-21 16:35:25 +01:00
mcdi_phy.c sfc: Use proper macros to declare and access MCDI arrays 2013-08-21 16:35:26 +01:00
mcdi.c sfc: Use proper macros to declare and access MCDI arrays 2013-08-21 16:35:26 +01:00
mcdi.h sfc: Use proper macros to declare and access MCDI arrays 2013-08-21 16:35:26 +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 details of a Falcon bug workaround out of ethtool.c 2013-08-21 16:35:06 +01:00
nic.c sfc: Fix IRQ cleanup in case of a probe failure 2013-06-24 20:02:52 +01:00
nic.h sfc: Move more Falcon-specific code and definitions into falcon.c 2013-08-21 16:35:20 +01:00
phy.h
ptp.c sfc: Use proper macros to declare and access MCDI arrays 2013-08-21 16:35:26 +01:00
qt202x_phy.c sfc: Implement module EEPROM access for SFE4002 and SFN4112F 2012-05-10 03:10:54 +01:00
regs.h sfc: Move more Falcon-specific code and definitions into falcon.c 2013-08-21 16:35:20 +01:00
rx.c sfc: Fix memory leak when discarding scattered packets 2013-07-05 01:29:15 -07:00
selftest.c sfc: lock TX queues when calling netif_device_detach() 2012-12-01 02:37:35 +00:00
selftest.h sfc: Run event/IRQ self-test asynchronously when interface is brought up 2012-03-06 18:14:15 +00:00
siena_sriov.c sfc: Use proper macros to declare and access MCDI arrays 2013-08-21 16:35:26 +01:00
siena.c sfc: Store port number in private data, not net_device::dev_id 2013-06-12 03:15:02 -07:00
spi.h
tenxpress.c
tx.c sfc: Add support for IEEE-1588 PTP 2012-09-19 02:54:12 +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