android_kernel_samsung_msm8976/net/sched
Eric Dumazet bfe0d0298f net_sched: factorize qdisc stats handling
HTB takes into account skb is segmented in stats updates.
Generalize this to all schedulers.

They should use qdisc_bstats_update() helper instead of manipulating
bstats.bytes and bstats.packets

Add bstats_update() helper too for classes that use
gnet_stats_basic_packed fields.

Note : Right now, TCQ_F_CAN_BYPASS shortcurt can be taken only if no
stab is setup on qdisc.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-10 16:07:54 -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
cls_cgroup.c
cls_flow.c
cls_fw.c
cls_route.c
cls_rsvp.c
cls_rsvp.h
cls_rsvp6.c
cls_tcindex.c
cls_u32.c
em_cmp.c
em_meta.c
em_nbyte.c
em_text.c
em_u32.c
ematch.c
Kconfig
Makefile
sch_api.c
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
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
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_sched: factorize qdisc stats handling 2011-01-10 16:07:54 -08:00