commit | a7f38041b8c38d0721b042c123bd5d6bd2d21feb | [log] [tgz] |
---|---|---|
author | Sandeep Gopalpet <sandeep.kumar@freescale.com> | Wed Dec 16 01:15:07 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 18 20:38:37 2009 -0800 |
tree | 375dc0df2bf89ac9502972b986018dd16fa9dad6 | |
parent | 1ccb8389f26f2d513b06abe45d8e0b8f32458302 [diff] |
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 <Sandeep.Kumar@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>