Skip to content

Commit 2e64126

Browse files
Phil Sutterdavem330
authored andcommitted
net: qdisc: enhance default_qdisc documentation
Aside from some lingual cleanup, point out which interfaces are not or partly covered by this setting. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Cong Wang <cwang@twopensource.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 562d897 commit 2e64126

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Documentation/sysctl/net.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ default_qdisc
5454
--------------
5555

5656
The default queuing discipline to use for network devices. This allows
57-
overriding the default queue discipline of pfifo_fast with an
58-
alternative. Since the default queuing discipline is created with the
59-
no additional parameters so is best suited to queuing disciplines that
60-
work well without configuration like stochastic fair queue (sfq),
61-
CoDel (codel) or fair queue CoDel (fq_codel). Don't use queuing disciplines
62-
like Hierarchical Token Bucket or Deficit Round Robin which require setting
63-
up classes and bandwidths.
57+
overriding the default of pfifo_fast with an alternative. Since the default
58+
queuing discipline is created without additional parameters so is best suited
59+
to queuing disciplines that work well without configuration like stochastic
60+
fair queue (sfq), CoDel (codel) or fair queue CoDel (fq_codel). Don't use
61+
queuing disciplines like Hierarchical Token Bucket or Deficit Round Robin
62+
which require setting up classes and bandwidths. Note that physical multiqueue
63+
interfaces still use mq as root qdisc, which in turn uses this default for its
64+
leaves. Virtual devices (like e.g. lo or veth) ignore this setting and instead
65+
default to noqueue.
6466
Default: pfifo_fast
6567

6668
busy_read

0 commit comments

Comments
 (0)