]> Git Repo - linux.git/commit - drivers/net/gianfar.h
gianfar: Fix stats support
authorSandeep Gopalpet <[email protected]>
Wed, 16 Dec 2009 01:15:07 +0000 (01:15 +0000)
committerDavid S. Miller <[email protected]>
Sat, 19 Dec 2009 04:38:37 +0000 (20:38 -0800)
commita7f38041b8c38d0721b042c123bd5d6bd2d21feb
tree375dc0df2bf89ac9502972b986018dd16fa9dad6
parent1ccb8389f26f2d513b06abe45d8e0b8f32458302
gianfar: Fix stats support

This patch updates the per rx/tx queue stats.
To update the per rx queue stats a new structure has been
introduced rx_q_stats.
The per tx queue stats are updated via the netdev_queue
structure itself.

Note that we update only the tx_packtes, tx_bytes, rx_packets,
rx_bytes and rx_dropped stats on a per queue basis.

Signed-off-by: Sandeep Gopalpet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/gianfar.c
drivers/net/gianfar.h
This page took 0.052162 seconds and 4 git commands to generate.