]> git.baikalelectronics.ru Git - kernel.git/commit
qdisc: allow setting default queuing discipline
authorstephen hemminger <stephen@networkplumber.org>
Tue, 27 Aug 2013 23:19:08 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Aug 2013 04:32:32 +0000 (00:32 -0400)
commit13efa0cc08904fd393a6798965f17630df9eafe1
tree587e811df17b158e2c83ca3333d2a6c4c21797ef
parent00a5c3f677e015d21388002d5e3a71b7968a2411
qdisc: allow setting default queuing discipline

By default, the pfifo_fast queue discipline has been used by default
for all devices. But we have better choices now.

This patch allow setting the default queueing discipline with sysctl.
This allows easy use of better queueing disciplines on all devices
without having to use tc qdisc scripts. It is intended to allow
an easy path for distributions to make fq_codel or sfq the default
qdisc.

This patch also makes pfifo_fast more of a first class qdisc, since
it is now possible to manually override the default and explicitly
use pfifo_fast. The behavior for systems who do not use the sysctl
is unchanged, they still get pfifo_fast

Also removes leftover random # in sysctl net core.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/sysctl/net.txt
include/net/pkt_sched.h
include/net/sch_generic.h
net/core/sysctl_net_core.c
net/sched/sch_api.c
net/sched/sch_generic.c
net/sched/sch_mq.c
net/sched/sch_mqprio.c