aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-12 12:32:54 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-12 15:05:26 +0200
commit4952469ff9278288d766b28247a17694b1c4faaa (patch)
treeb395ead4e8ee32d81aaad72bd7ba947b224a8992 /package/kernel
parent99e5bec2c6da0f676f6662cabab4602854d54012 (diff)
downloadupstream-4952469ff9278288d766b28247a17694b1c4faaa.tar.gz
upstream-4952469ff9278288d766b28247a17694b1c4faaa.tar.bz2
upstream-4952469ff9278288d766b28247a17694b1c4faaa.zip
mac80211: disable fq until performance issues have been found and fixed
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/220-fq_disable_hack.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/220-fq_disable_hack.patch b/package/kernel/mac80211/patches/220-fq_disable_hack.patch
new file mode 100644
index 0000000000..c5721b5f0e
--- /dev/null
+++ b/package/kernel/mac80211/patches/220-fq_disable_hack.patch
@@ -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];