lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1399659174-20841-1-git-send-email-sergey@lobanov.in>
Date:	Fri,  9 May 2014 22:12:54 +0400
From:	"Sergey V. Lobanov" <sergey@...anov.in>
To:	netdev@...r.kernel.org
Cc:	"Sergey V. Lobanov" <sergey@...anov.in>
Subject: [PATCH iproute2] TBF man page fix (tbf is not classless)

TBF is not classless qdisc. man page corrected, added example
describing the use of inner qdisc

Signed-off-by: Sergey V. Lobanov <sergey@...anov.in>
---
 man/man8/tc-tbf.8 |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/man/man8/tc-tbf.8 b/man/man8/tc-tbf.8
index 370a537..18ef7b4 100644
--- a/man/man8/tc-tbf.8
+++ b/man/man8/tc-tbf.8
@@ -21,7 +21,7 @@ bytes/cell
 burst is also known as buffer and maxburst. mtu is also known as minburst.
 .SH DESCRIPTION
 
-The Token Bucket Filter is a classless queueing discipline available for
+The Token Bucket Filter is a classful queueing discipline available for
 traffic control with the 
 .BR tc (8)
 command.
@@ -121,9 +121,17 @@ To attach a TBF with a sustained maximum rate of 0.5mbit/s, a peakrate of 1.0mbi
 a 5kilobyte buffer, with a pre-bucket queue size limit calculated so the TBF causes
 at most 70ms of latency, with perfect peakrate behaviour, issue:
 .P
-# tc qdisc add dev eth0 root tbf rate 0.5mbit \\
+# tc qdisc add dev eth0 handle 10: root tbf rate 0.5mbit \\
   burst 5kb latency 70ms peakrate 1mbit       \\
   minburst 1540
+.P
+To attach an inner qdisc, for example sfq, issue:
+.P
+# tc qdisc add dev eth0 parent 10:1 handle 100: sfq
+.P
+Without inner qdisc TBF queue acts as bfifo. If the inner qdisc is changed
+the limit/latency is not effective anymore.
+.P
 
 .SH SEE ALSO
 .BR tc (8)
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ