kernel: revert fq_codel quantum override to prevent it from causing too much cpu...
[openwrt/openwrt.git] / target / linux / generic / patches-4.4 / 660-fq_codel_defaults.patch
1 --- a/net/sched/sch_fq_codel.c
2 +++ b/net/sched/sch_fq_codel.c
3 @@ -412,7 +412,7 @@ static int fq_codel_init(struct Qdisc *s
4 struct fq_codel_sched_data *q = qdisc_priv(sch);
5 int i;
6
7 - sch->limit = 10*1024;
8 + sch->limit = 1024;
9 q->flows_cnt = 1024;
10 q->quantum = psched_mtu(qdisc_dev(sch));
11 q->perturbation = prandom_u32();