linux-xiaomi-chiron/include
Eric Dumazet caf586e5f2 net: add a core netdev->rx_dropped counter
In various situations, a device provides a packet to our stack and we
drop it before it enters protocol stack :
- softnet backlog full (accounted in /proc/net/softnet_stat)
- bad vlan tag (not accounted)
- unknown/unregistered protocol (not accounted)

We can handle a per-device counter of such dropped frames at core level,
and automatically adds it to the device provided stats (rx_dropped), so
that standard tools can be used (ifconfig, ip link, cat /proc/net/dev)

This is a generalization of commit 8990f468a (net: rx_dropped
accounting), thus reverting it.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-05 14:47:55 -07:00
..
acpi
asm-generic
crypto
drm
keys
linux net: add a core netdev->rx_dropped counter 2010-10-05 14:47:55 -07:00
math-emu
media
mtd
net ipv6: make __ipv6_isatap_ifid static 2010-10-05 00:47:39 -07:00
pcmcia
rdma
rxrpc
scsi
sound
trace
video
xen
Kbuild