diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-12-28 16:53:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-31 15:47:37 -0500 |
commit | eeaeb068f1393b4db4861481bf594bcd1c3eda7a (patch) | |
tree | d3404b80033fa89b83e6e23fd9fbcb0d7dad614f /net/sched/cls_flow.c | |
parent | 0f333d10e3f689640b229c8cf00b16ea51ce4951 (diff) |
sch_sfq: allow big packets and be fair
SFQ is currently 'limited' to small packets, because it uses a 15bit
allotment number per flow. Introduce a scale by 8, so that we can handle
full size TSO/GRO packets.
Use appropriate handling to make sure allot is positive before a new
packet is dequeued, so that fairness is respected.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Jarek Poplawski <jarkao2@gmail.com>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_flow.c')
0 files changed, 0 insertions, 0 deletions