be2net: Maintain tx and rx counters in driver
authorAjit Khaparde <ajitkhaparde@gmail.com>
Fri, 19 Feb 2010 13:57:12 +0000 (13:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2010 01:11:53 +0000 (17:11 -0800)
commit91992e446cadbbde1a304de6954afd715af5121e
treec35db4f51eee079a19018e251ec4f03a9c410d79
parent294aedcf875b982e2d3bd6d2d9b8124ccb163bf6
be2net: Maintain tx and rx counters in driver

For certain skews of the BE adapter, H/W Tx and Rx
counters could be common for more than one interface.
Add Tx and Rx counters in the adapter structure
(to maintain stats on a per interfae basis).

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_main.c