220-fq_disable_hack.patch 523 B

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