alistair23-linux/drivers/net/ethernet/sfc
Jon Cooper f8f3b5ae3e sfc: Correct RX dropped count for drops while interface is down
We don't directly control RX ingress on Siena or any later
controllers, and so we cannot prevent packets from entering the RX
datapath while the RX queues are not set up.  This results in
the hardware incrementing RX_NODESC_DROP_CNT, but it's not an
error and we should not include it in error stats.

When bringing an interface up or down, pull (or wait for) stats and
count the number of packets that were dropped while the interface was
down.  Subtract this from the reported RX dropped count.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-12-12 22:06:51 +00:00
..
bitfield.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ef10.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
ef10_regs.h sfc: Use TX PIO for sufficiently small packets 2013-09-20 19:31:52 +01: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.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
falcon_boards.c 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
farch_regs.h sfc: Update copyright banners 2013-08-29 23:34:51 +01: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.c sfc: Add MC BISTs to ethtool offline self test on EF10 2013-12-12 22:05:48 +00:00
mcdi.h sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
mcdi_mon.c sfc: Convert to use hwmon_device_register_with_groups 2013-11-29 16:26:16 -05:00
mcdi_pcol.h sfc: Update MCDI protocol definitions 2013-12-06 22:29:20 +00:00
mcdi_port.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +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 Merge branch 'sfc-3.13' into master 2013-12-06 22:28:18 +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.c sfc: Correct RX dropped count for drops while interface is down 2013-12-12 22:06:51 +00:00
siena_sriov.c sfc: Update copyright banners 2013-08-29 23:34:51 +01: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