Files
ubports_kernel_google_msm/drivers/net/ixgbe
Eric Dumazet de1036b1ce ixgbe: fix stats handling
Current ixgbe stats have following problems :

- Not 64 bit safe (on 32bit arches)

- Not safe in ixgbe_clean_rx_irq() :
   All cpus dirty a common location (netdev->stats.rx_bytes &
netdev->stats.rx_packets) without proper synchronization.
   This slow down a bit multiqueue operations, and possibly miss some
updates.

Fixes :

Implement ndo_get_stats64() method to provide accurate 64bit rx|tx
bytes/packets counters, using 64bit safe infrastructure.

ixgbe_get_ethtool_stats() also use this infrastructure to provide 64bit
safe counters.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-21 03:55:22 -07:00
..
2010-10-14 10:49:42 -07:00
2010-10-14 10:49:42 -07:00
2010-10-21 03:55:22 -07:00
2010-10-21 03:55:22 -07:00
2010-10-21 03:55:21 -07:00
2010-10-21 03:55:21 -07:00
2010-10-21 03:55:21 -07:00
2010-10-21 03:55:21 -07:00
2010-10-21 03:55:22 -07:00