linux/net/sched
Eric Dumazet a73ed26bba sch_red: generalize accurate MAX_P support to RED/GRED/CHOKE
Now RED uses a Q0.32 number to store max_p (max probability), allow
RED/GRED/CHOKE to use/report full resolution at config/dump time.

Old tc binaries are non aware of new attributes, and still set/get Plog.

New tc binary set/get both Plog and max_p for backward compatibility,
they display "probability value" if they get max_p from new kernels.

# tc -d  qdisc show dev ...
...
qdisc red 10: parent 1:1 limit 360Kb min 30Kb max 90Kb ecn ewma 5
probability 0.09 Scell_log 15

Make sure we avoid potential divides by 0 in reciprocal_value(), if
(max_th - min_th) is big.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-09 13:46:15 -05:00
..
Kconfig
Makefile
act_api.c net: Fix files explicitly needing to include module.h 2011-10-31 19:30:28 -04:00
act_csum.c
act_gact.c
act_ipt.c
act_mirred.c
act_nat.c
act_pedit.c
act_police.c
act_simple.c
act_skbedit.c
cls_api.c
cls_basic.c
cls_cgroup.c
cls_flow.c cls_flow: use skb_flow_dissect() 2011-11-28 19:09:28 -05:00
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
sch_api.c
sch_atm.c
sch_blackhole.c
sch_cbq.c
sch_choke.c sch_red: generalize accurate MAX_P support to RED/GRED/CHOKE 2011-12-09 13:46:15 -05:00
sch_drr.c
sch_dsmark.c
sch_fifo.c
sch_generic.c net: Add queue state xoff flag for stack 2011-11-29 12:46:19 -05:00
sch_gred.c sch_red: generalize accurate MAX_P support to RED/GRED/CHOKE 2011-12-09 13:46:15 -05:00
sch_hfsc.c
sch_htb.c
sch_ingress.c
sch_mq.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00
sch_mqprio.c net: Fix files explicitly needing to include module.h 2011-10-31 19:30:28 -04:00
sch_multiq.c net: Add queue state xoff flag for stack 2011-11-29 12:46:19 -05:00
sch_netem.c netem: fix build error on 32bit arches 2011-12-01 11:40:19 -05:00
sch_prio.c
sch_qfq.c
sch_red.c sch_red: generalize accurate MAX_P support to RED/GRED/CHOKE 2011-12-09 13:46:15 -05:00
sch_sfb.c sch_sfb: use skb_flow_dissect() 2011-11-28 19:09:28 -05:00
sch_sfq.c sch_sfq: use skb_flow_dissect() 2011-11-29 13:17:03 -05:00
sch_tbf.c
sch_teql.c net: Rename dst_get_neighbour{, _raw} to dst_get_neighbour_noref{, _raw}. 2011-12-05 15:20:19 -05:00