]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: sch_fq: ensure maxrate fq parameter applies to EDT flows
authorEric Dumazet <edumazet@google.com>
Tue, 13 Nov 2018 00:17:16 +0000 (16:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2018 19:42:12 +0000 (11:42 -0800)
commitf36532deba106c707b5f0a523f1c7f602ddf455a
tree8aa2969ed5b5b05c0c573f10f21d1f5b4c84281f
parent66480b8f0395f1eb8ca64841259fab00dd69334d
net_sched: sch_fq: ensure maxrate fq parameter applies to EDT flows

When EDT conversion happened, fq lost the ability to enfore a maxrate
for all flows. It kept it for non EDT flows.

This commit restores the functionality.

Tested:

tc qd replace dev eth0 root fq maxrate 500Mbit
netperf -P0 -H host -- -O THROUGHPUT
489.75

Fixes: e86c165575d2 ("tcp: switch tcp and sch_fq to new earliest departure time model")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c