Skip to content
Snippets Groups Projects
Commit d9e9d411 authored by Oskar Viljasaar's avatar Oskar Viljasaar
Browse files

Import openwrt hack patch 660-fq_codel_defaults.patch

parent e77a75de
No related branches found
No related tags found
No related merge requests found
...@@ -474,7 +474,11 @@ static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt, ...@@ -474,7 +474,11 @@ static int fq_codel_init(struct Qdisc *sch, struct nlattr *opt,
sch->limit = 10*1024; sch->limit = 10*1024;
q->flows_cnt = 1024; q->flows_cnt = 1024;
#ifdef CONFIG_X86_64
q->memory_limit = 32 << 20; /* 32 MBytes */ q->memory_limit = 32 << 20; /* 32 MBytes */
#else
q->memory_limit = 4 << 20; /* 4 MBytes */
#endif
q->drop_batch_size = 64; q->drop_batch_size = 64;
q->quantum = psched_mtu(qdisc_dev(sch)); q->quantum = psched_mtu(qdisc_dev(sch));
INIT_LIST_HEAD(&q->new_flows); INIT_LIST_HEAD(&q->new_flows);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment