• Eric Dumazet's avatar
    fq_codel: should use qdisc backlog as threshold · 865ec552
    Eric Dumazet authored
    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: default avatarEric Dumazet <edumazet@google.com>
    Cc: Dave Taht <dave.taht@bufferbloat.net>
    Cc: Kathleen Nichols <nichols@pollere.com>
    Cc: Van Jacobson <van@pollere.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    865ec552
sch_fq_codel.c 15.5 KB