android_kernel_oneplus_msm8998/net/sched
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
..
act_api.c
act_csum.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_gact.c
act_ipt.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_mirred.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_nat.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_pedit.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_police.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_simple.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
act_skbedit.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
cls_api.c
cls_basic.c classifier: report statistics for basic classifier 2010-11-08 12:17:05 -08:00
cls_cgroup.c cls_cgroup: Fix crash on module unload 2010-11-03 18:50:50 -07:00
cls_flow.c
cls_fw.c
cls_route.c
cls_rsvp.c
cls_rsvp.h
cls_rsvp6.c
cls_tcindex.c
cls_u32.c cls_u32: signedness bug 2010-10-05 00:40:39 -07:00
em_cmp.c
em_meta.c
em_nbyte.c
em_text.c text ematch: check for NULL pointer before destroying textsearch config 2010-10-31 09:37:38 -07:00
em_u32.c
ematch.c
Kconfig
Makefile
sch_api.c net: dynamic ingress_queue allocation 2010-10-05 00:23:44 -07:00
sch_atm.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_blackhole.c
sch_cbq.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_drr.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_dsmark.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_fifo.c net_sched: pfifo_head_drop problem 2011-01-05 13:39:17 -08:00
sch_generic.c net: factorize sync-rcu call in unregister_netdevice_many 2010-12-16 14:04:44 -08:00
sch_gred.c
sch_hfsc.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_htb.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_ingress.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_mq.c net_sched: remove the unused parameter of qdisc_create_dflt() 2010-10-21 03:09:47 -07:00
sch_multiq.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_netem.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_prio.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_red.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_sfq.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_tbf.c net_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00
sch_teql.c net: remove dev_txq_stats_fold() 2011-01-13 21:44:34 -08:00