net: Add netdev interfaces for recording sends/comp
authorTom Herbert <therbert@google.com>
Mon, 28 Nov 2011 16:32:52 +0000 (16:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 17:46:19 +0000 (12:46 -0500)
commitc5d67bd78c5dc540e3461c36fb3d389fbe0de4c3
treee0536d39c7f01adc4b6041806aea15deccee8a8b
parent7346649826382b769cfadf4a2fe8a84d060c55e9
net: Add netdev interfaces for recording sends/comp

Add interfaces for drivers to call for recording number of packets and
bytes at send time and transmit completion.  Also, added a function to
"reset" a queue.  These will be used by Byte Queue Limits.

Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h