linux/drivers/net/ethernet/sfc
Edward Cree 568d7a001b sfc: Add PM and RXDP drop counters to ethtool stats
Recognise the new Packet Memory and RX Data Path counters.

The following counters are added:
rx_pm_{trunc,discard}_bb_overflow - burst buffer overflowed.  This should not
 occur if BB correctly configured.
rx_pm_{trunc,discard}_vfifo_full - not enough space in packet memory.  May
 indicate RX performance problems.
rx_pm_{trunc,discard}_qbb - dropped by 802.1Qbb early discard mechanism.
 Since Qbb is not supported at present, this should not occur.
rx_pm_discard_mapping - 802.1p priority configured to be dropped.  This should
 not occur in normal operation.
rx_dp_q_disabled_packets - packet was to be delivered to a queue but queue is
 disabled.  May indicate misconfiguration by the driver.
rx_dp_di_dropped_packets - parser-dispatcher indicated that a packet should be
 dropped.
rx_dp_streaming_packets - packet was sent to the RXDP streaming bus, ie. a
 filter directed the packet to the MCPU.
rx_dp_emerg_{fetch,wait} - RX datapath had to wait for descriptors to be
 loaded.  Indicates performance problems but not drops.

These are only provided if the MC firmware has the
PM_AND_RXDP_COUNTERS capability.  Otherwise, mask them out.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-10-04 23:56:31 +01:00
..
bitfield.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ef10_regs.h sfc: Add EF10 register and structure definitions 2013-08-29 18:12:16 +01:00
ef10.c sfc: Add PM and RXDP drop counters to ethtool stats 2013-10-04 23:56:31 +01:00
efx.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
efx.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
enum.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ethtool.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
falcon_boards.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
falcon.c sfc: check for allocation failure 2013-09-04 13:07:47 -04:00
farch_regs.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
farch.c 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: Update copyright banners 2013-08-29 23:34:51 +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: Update copyright banners 2013-08-29 23:34:51 +01:00
mcdi_pcol.h sfc: Add definitions for new stats counters and capability flag 2013-10-04 23:55:58 +01:00
mcdi_port.c sfc: Minimal support for 40G link speed 2013-09-05 22:32:57 +01:00
mcdi.c sfc: Increase MCDI status timeout to 250ms 2013-09-20 17:24:35 +01:00
mcdi.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mdio_10g.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mdio_10g.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
mtd.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
net_driver.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
nic.c sfc: Fix internal indices of ethtool stats for EF10 2013-10-04 23:31:50 +01:00
nic.h sfc: Add PM and RXDP drop counters to ethtool stats 2013-10-04 23:56:31 +01:00
phy.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
ptp.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
qt202x_phy.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
rx.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
selftest.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
selftest.h sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
siena_sriov.c sfc: Update copyright banners 2013-08-29 23:34:51 +01:00
siena.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: Update copyright banners 2013-08-29 23:34:51 +01: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