Files
ubports_kernel_google_msm/include/net
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
..
2011-03-31 11:26:23 -03:00
2011-08-13 01:10:16 -07:00
2011-11-17 15:43:55 -05:00
2011-07-26 16:49:47 -07:00
2011-05-05 11:10:14 -07:00
2011-03-31 11:26:23 -03:00
2011-12-03 09:35:05 -08:00
2011-07-26 16:49:47 -07:00
2011-07-17 23:11:35 -07:00
2011-11-22 16:43:32 -05:00
2011-11-09 16:36:27 -05:00
2011-03-31 11:26:23 -03:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-05-17 14:16:58 -04:00
2011-03-31 11:26:23 -03:00
2011-11-22 16:43:32 -05:00