[PKT_SCHED]: GRED: Use new generic red interface
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Nov 2005 20:14:16 +0000 (21:14 +0100)
committerThomas Graf <tgr@axs.localdomain>
Sat, 5 Nov 2005 21:02:27 +0000 (22:02 +0100)
commit22b33429ab93155895854e9518a253680a920493
tree9beebaec505ad2c5c4bc645c0880c488bcb53900
parentf62d6b936df500247474c13360eb23e1b602bad0
[PKT_SCHED]: GRED: Use new generic red interface

Simplifies code a lot by separating the red algorithm and the
queueing logic. We now differentiate between probability marks
and forced marks but sum them together again to not break
backwards compatibility.

This brings GRED back to the level of RED and improves the
accuracy of the averge queue length calculations when stab
suggests a zero shift.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/sched/sch_gred.c