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)
commit08e14fe429a07475ee9f29a283945d602e4a6d92
tree8aa2969ed5b5b05c0c573f10f21d1f5b4c84281f
parent7150ceaacb27f7b3bf494e72cd4be4e11612dfff
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: ab408b6dc744 ("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