This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/include/linux
Eric Dumazet 1ac9ad1394 net: remove dev_txq_stats_fold()
After recent changes, (percpu stats on vlan/tunnels...), we dont need
anymore per struct netdev_queue tx_bytes/tx_packets/tx_dropped counters.

Only remaining users are ixgbe, sch_teql, gianfar & macvlan :

1) ixgbe can be converted to use existing tx_ring counters.

2) macvlan incremented txq->tx_dropped, it can use the
dev->stats.tx_dropped counter.

3) sch_teql : almost revert ab35cd4b8f (Use net_device internal stats)
    Now we have ndo_get_stats64(), use it, even for "unsigned long"
fields (No need to bring back a struct net_device_stats)

4) gianfar adds a stats structure per tx queue to hold
tx_bytes/tx_packets

This removes a lockdep warning (and possible lockup) in rndis gadget,
calling dev_get_stats() from hard IRQ context.

Ref: http://www.spinics.net/lists/netdev/msg149202.html

Reported-by: Neil Jones <neiljay@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jarek Poplawski <jarkao2@gmail.com>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
CC: Sandeep Gopalpet <sandeep.kumar@freescale.com>
CC: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-13 21:44:34 -08:00
..
2011-01-06 22:32:52 +00:00
2010-11-15 20:44:26 -05:00
2010-12-11 01:28:58 -05:00
2010-12-13 16:11:13 -08:00
2011-01-07 17:50:32 +11:00
2010-12-08 10:30:34 -08:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:31 +11:00
2011-01-07 17:50:23 +11:00
2010-11-16 10:58:30 -08:00
2010-11-24 11:16:42 -08:00
2010-12-09 20:17:07 -08:00
2010-12-22 10:27:53 +01:00
2010-11-16 13:33:23 -08:00
2011-01-07 17:50:31 +11:00
2010-12-06 11:03:46 -08:00
2011-01-07 17:50:33 +11:00
2011-01-07 17:50:27 +11:00
2011-01-07 17:50:19 +11:00
2011-01-13 21:44:34 -08:00
2011-01-10 15:40:52 -05:00
2011-01-07 17:50:33 +11:00
2010-12-16 11:36:43 +01:00
2011-01-07 17:50:31 +11:00
2011-01-07 17:50:27 +11:00
2010-12-20 09:37:33 +01:00
2010-12-16 10:05:06 -08:00