qlge: Clean up netdev->stats usage.
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 3 Nov 2009 13:49:31 +0000 (13:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Nov 2009 13:01:38 +0000 (05:01 -0800)
commit885ee398de2354cf4526a3ecaf9e84e292393007
tree5012c783395b402d9e61facda407355dcbd3cfdb
parent1e34e307d0ebe536feb39c957c849a485bc81486
qlge: Clean up netdev->stats usage.

Don't access netdev->stats in IO path.  Save them in tx_ring/rx_rings
and add them up when get_stats API is called.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_main.c