linux/drivers/net/ethernet/sfc
Edward Cree 1e0b8120b2 sfc: Log all unexpected MCDI errors
Split each of efx_mcdi_rpc, efx_mcdi_rpc_finish, and efx_mcdi_rpc_async into
a normal and a _quiet version; made the former log MCDI errors with
netif_err (and include the raw MCDI error code), and the latter never log
them at all.  Changed various callers; any where some errors are expected
(but others are not) call the _quiet version and then if necessary log the
MCDI error themselves.  Said logging is done by new efx_mcdi_display_error.

Callers of efx_mcdi_rpc*_quiet functions which may want to log the error
need to ensure that their outbuf is big enough to hold an MCDI error; to
this end, they now use MCDI_DECLARE_BUF_OUT_OR_ERR, which always allocates
at least 8 bytes.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-12-12 22:06:56 +00:00
..
bitfield.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ef10_regs.h sfc: Use TX PIO for sufficiently small packets 2013-09-20 19:31:52 +01:00
ef10.c sfc: Log all unexpected MCDI errors 2013-12-12 22:06:56 +00:00
efx.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
efx.h sfc: Make initial fill of RX descriptors synchronous 2013-12-12 22:06:50 +00:00
enum.h sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
ethtool.c sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
falcon_boards.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
falcon.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
farch_regs.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
farch.c sfc: Make initial fill of RX descriptors synchronous 2013-12-12 22:06:50 +00:00
filter.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
io.h sfc: Allocate and link PIO buffers; map them with write-combining 2013-09-20 19:31:49 +01:00
Kconfig sfc: Minimal support for 40G link speed 2013-09-05 22:32:57 +01:00
Makefile sfc: Add support for Solarflare SFC9100 family 2013-08-29 19:19:29 +01:00
mcdi_mon.c sfc: Add new sensor names 2013-12-12 22:06:54 +00:00
mcdi_pcol.h sfc: Update MCDI protocol definitions 2013-12-06 22:29:20 +00:00
mcdi_port.c sfc: Log all unexpected MCDI errors 2013-12-12 22:06:56 +00:00
mcdi.c sfc: Log all unexpected MCDI errors 2013-12-12 22:06:56 +00:00
mcdi.h sfc: Log all unexpected MCDI errors 2013-12-12 22:06:56 +00:00
mdio_10g.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mdio_10g.h sfc: Remove extern from function prototypes 2013-09-24 12:52:53 -07:00
mtd.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
net_driver.h sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
nic.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
nic.h sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
phy.h sfc: Remove extern from function prototypes 2013-09-24 12:52:53 -07:00
ptp.c sfc: Log all unexpected MCDI errors 2013-12-12 22:06:56 +00:00
qt202x_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
rx.c sfc: Make initial fill of RX descriptors synchronous 2013-12-12 22:06:50 +00:00
selftest.c sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
selftest.h sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
siena_sriov.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
siena.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
tenxpress.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
tx.c sfc: Fix DMA unmapping issue with firmware assisted TSO 2013-10-31 20:58:14 +00:00
txc43128_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
vfdi.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
workarounds.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00