diff options
author | Eric Dumazet <edumazet@google.com> | 2016-03-02 19:21:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-04 01:38:46 +0300 |
commit | 1f27cde313d72d6b44a73ba89c8b2c6a99c628cf (patch) | |
tree | 827ad853aec72793016f8f7302eb2a345bab2319 /net/sched/sch_generic.c | |
parent | 799977d9aafbf0ca0b9c39b04cbfb16db71302c9 (diff) | |
download | linux-1f27cde313d72d6b44a73ba89c8b2c6a99c628cf.tar.xz |
net: sched: use pfifo_fast for non real queues
Some devices declare a high number of TX queues, then set a much
lower real_num_tx_queues
This cause setups using fq_codel, sfq or fq as the default qdisc to consume
more memory than really needed.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r-- | net/sched/sch_generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 16bc83b2842a..f18c35024207 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c @@ -567,6 +567,7 @@ struct Qdisc_ops pfifo_fast_ops __read_mostly = { .dump = pfifo_fast_dump, .owner = THIS_MODULE, }; +EXPORT_SYMBOL(pfifo_fast_ops); static struct lock_class_key qdisc_tx_busylock; |