[Codel] [PATCH net-next] fq_codel: should use qdisc backlog as threshold

David Miller davem at davemloft.net
Wed May 16 15:30:37 EDT 2012


From: Eric Dumazet <eric.dumazet at gmail.com>
Date: Wed, 16 May 2012 16:39:09 +0200

> From: Eric Dumazet <edumazet at google.com>
> 
> codel_should_drop() logic allows a packet being not dropped if queue
> size is under max packet size.
> 
> In fq_codel, we have two possible backlogs : The qdisc global one, and
> the flow local one.
> 
> The meaningful one for codel_should_drop() should be the global backlog,
> not the per flow one, so that thin flows can have a non zero drop/mark
> probability.
> 
> Signed-off-by: Eric Dumazet <edumazet at google.com>

Applied.



More information about the Codel mailing list