linux_dsm_epyc7002/drivers/net/sfc
Eric Dumazet 28172739f0 net: fix 64 bit counters on 32 bit arches
There is a small possibility that a reader gets incorrect values on 32
bit arches. SNMP applications could catch incorrect counters when a
32bit high part is changed by another stats consumer/provider.

One way to solve this is to add a rtnl_link_stats64 param to all
ndo_get_stats64() methods, and also add such a parameter to
dev_get_stats().

Rule is that we are not allowed to use dev->stats64 as a temporary
storage for 64bit stats, but a caller provided area (usually on stack)

Old drivers (only providing get_stats() method) need no changes.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-07-07 14:58:56 -07:00
..
bitfield.h
efx.c net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
efx.h sfc: Implement message level control 2010-06-24 22:13:22 -07:00
enum.h
ethtool.c net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
falcon_boards.c sfc: Log clearer error messages for hardware monitor 2010-06-25 21:03:32 -07:00
falcon_gmac.c
falcon_xmac.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
falcon.c sfc: Use Toeplitz IPv4 hash for RSS and hash insertion 2010-06-25 21:03:32 -07:00
io.h sfc: Implement message level control 2010-06-24 22:13:22 -07:00
Kconfig
mac.h
Makefile
mcdi_mac.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
mcdi_pcol.h
mcdi_phy.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
mcdi.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
mcdi.h
mdio_10g.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
mdio_10g.h sfc: Implement message level control 2010-06-24 22:13:22 -07:00
mtd.c
net_driver.h sfc: Add support for RX flow hash control 2010-06-30 14:10:04 -07:00
nic.c sfc: Add support for RX flow hash control 2010-06-30 14:10:04 -07:00
nic.h sfc: Add support for RX flow hash control 2010-06-30 14:10:04 -07:00
phy.h
qt202x_phy.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
regs.h
rx.c sfc: Fix reading of inserted hash 2010-06-25 21:03:30 -07:00
selftest.c sfc: Fix reading of inserted hash 2010-06-25 21:03:30 -07:00
selftest.h
siena.c sfc: Use Toeplitz IPv4 hash for RSS and hash insertion 2010-06-25 21:03:32 -07:00
spi.h
tenxpress.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
tx.c sfc: Implement message level control 2010-06-24 22:13:22 -07:00
workarounds.h