summaryrefslogtreecommitdiff
path: root/samples/Makefile
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-11-15 16:58:14 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-08 15:29:13 (GMT)
commitd902e2c30aeba8d9d76d9c7845f4b9833f7c336d (patch)
tree655ae5a78998789d1ee0084452a4765ed8903bba /samples/Makefile
parent8ec21820ff9714a66c17e89aad8d0fc74a357b27 (diff)
downloadlinux-fsl-qoriq-d902e2c30aeba8d9d76d9c7845f4b9833f7c336d.tar.xz
pkt_sched: fq: fix pacing for small frames
[ Upstream commit f52ed89971adbe79b6438c459814034707b8ab91 ] For performance reasons, sch_fq tried hard to not setup timers for every sent packet, using a quantum based heuristic : A delay is setup only if the flow exhausted its credit. Problem is that application limited flows can refill their credit for every queued packet, and they can evade pacing. This problem can also be triggered when TCP flows use small MSS values, as TSO auto sizing builds packets that are smaller than the default fq quantum (3028 bytes) This patch adds a 40 ms delay to guard flow credit refill. Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Maciej Żenczykowski <maze@google.com> Cc: Willem de Bruijn <willemb@google.com> Cc: Yuchung Cheng <ycheng@google.com> Cc: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions