mac80211: disable fq until performance issues have been found and fixed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-07-12 12:32:54 +02:00
parent 99e5bec2c6
commit 4952469ff9
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
mac80211 fq has been found to cause a regression in multi-stream TCP
performance. Disable it until the cause has been found and fixed
--- a/include/net/fq_impl.h
+++ b/include/net/fq_impl.h
@@ -104,6 +104,9 @@ static struct fq_flow *fq_flow_classify(
lockdep_assert_held(&fq->lock);
+ /* HACK: disable fq for now until TCP issues are fixed */
+ return get_default_func(fq, tin, idx, skb);
+
hash = skb_get_hash_perturb(skb, fq->perturbation);
idx = reciprocal_scale(hash, fq->flows_cnt);
flow = &fq->flows[idx];