net: sched: use pfifo_fast for non real queues
authorEric Dumazet <edumazet@google.com>
Wed, 2 Mar 2016 16:21:43 +0000 (08:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2016 22:38:46 +0000 (17:38 -0500)
commit1f27cde313d72d6b44a73ba89c8b2c6a99c628cf
tree827ad853aec72793016f8f7302eb2a345bab2319
parent799977d9aafbf0ca0b9c39b04cbfb16db71302c9
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>
include/net/sch_generic.h
net/sched/sch_generic.c
net/sched/sch_mq.c
net/sched/sch_mqprio.c