kernel_optimize_test/drivers/net/sfc
Stephen Hemminger eeda3fd64f netdev: introduce dev_get_stats()
In order for the network device ops get_stats call to be immutable, the handling
of the default internal network device stats block has to be changed. Add a new
helper function which replaces the old use of internal_get_stats.

Note: change return code to make it clear that the caller should not
go changing the returned statistics.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-19 21:40:23 -08:00
..
bitfield.h
boards.c
boards.h
efx.c
efx.h
enum.h
ethtool.c
ethtool.h
falcon_hwdefs.h
falcon_io.h
falcon_xmac.c
falcon.c
falcon.h
gmii.h
Kconfig
mac.h
Makefile
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h
phy.h
rx.c
rx.h
selftest.c
selftest.h
sfe4001.c
spi.h
tenxpress.c
tx.c
tx.h
workarounds.h
xenpack.h
xfp_phy.c