diff options
author | Eric Dumazet <edumazet@google.com> | 2012-05-16 04:39:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-16 15:30:26 -0400 |
commit | 865ec5523dadbedefbc5710a68969f686a28d928 (patch) | |
tree | b9f056cdea6922d5fc3ed035764660bb6fb152b3 /include/net/sock.h | |
parent | c27b46e7f1cbf3be95a4cf5840c76a7b7d54b26f (diff) | |
download | op-kernel-dev-865ec5523dadbedefbc5710a68969f686a28d928.zip op-kernel-dev-865ec5523dadbedefbc5710a68969f686a28d928.tar.gz |
fq_codel: should use qdisc backlog as threshold
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@google.com>
Cc: Dave Taht <dave.taht@bufferbloat.net>
Cc: Kathleen Nichols <nichols@pollere.com>
Cc: Van Jacobson <van@pollere.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions