netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rx_dropped count for USB ethernet interfaces
@ 2013-09-25 16:22 David Laight
  2013-09-25 18:46 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: David Laight @ 2013-09-25 16:22 UTC (permalink / raw)
  To: netdev

We are seeing the 'rx_dropped' count increasing on an USB ethernet interfaces
smsc95xx, but not on the e1000 interface connected to the same LAN.

Now I thought that rx_dropped was a count of the number of packets that the
MAC driver/hardware discarded - typically because the rx ring had no buffers.
This could include packets dropped in the receive stack due to other memory
limits.

However it looks as though Linux is also counting rx_dropped if the packet
can't be delivered to a protocol (at the end of __netif_receive_skb).

The LAN definitely has broadcast packets with an unknown 'ethertype',
I'd expect these to be silently discarded not counted as rx_dropped.

If I run tcpdump on the interface (even with a filter that passes nothing)
then rx_dropped doesn't change.

I think I've just worked out why I don't see these error counts
on the e1000 interface. I suspect that DHCP is getting a copy of every
packet (that can't help network performance?)

	David

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-09-27  8:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-25 16:22 rx_dropped count for USB ethernet interfaces David Laight
2013-09-25 18:46 ` David Miller
2013-09-26  9:32   ` David Laight
2013-09-26 17:21     ` David Miller
2013-09-27  8:39       ` David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).