[IPoIB]: Convert to netdevice internal stats
authorRoland Dreier <rolandd@cisco.com>
Fri, 28 Sep 2007 22:33:51 +0000 (15:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:41 +0000 (16:53 -0700)
commitde90351219a1f1fd3cb45cf6fcc4e9d6407fd2c9
tree5fd6193eb233e900452f719fd56d7065b2fb939e
parent587117414909e9c52f50e3c9d1f85b3dc1815d75
[IPoIB]: Convert to netdevice internal stats

Use the stats member of struct netdevice in IPoIB, so we can save
memory by deleting the stats member of struct ipoib_dev_priv, and save
code by deleting ipoib_get_stats().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_cm.c
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c