gianfar: Fix stats support
authorSandeep Gopalpet <sandeep.kumar@freescale.com>
Wed, 16 Dec 2009 01:15:07 +0000 (01:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Dec 2009 04:38:37 +0000 (20:38 -0800)
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 <Sandeep.Kumar@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found