summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0a3486)
raw | patch | inline | side by side (parent: a0a3486)
author | Sandeep Paulraj <s-paulraj@ti.com> | |
Wed, 12 Dec 2012 22:47:52 +0000 (17:47 -0500) | ||
committer | Murali Karicheri <m-karicheri2@ti.com> | |
Wed, 3 Dec 2014 16:27:21 +0000 (11:27 -0500) |
update qos documentation.
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Documentation/devicetree/bindings/hwqueue/keystone-qos.txt | patch | blob | history |
diff --git a/Documentation/devicetree/bindings/hwqueue/keystone-qos.txt b/Documentation/devicetree/bindings/hwqueue/keystone-qos.txt
index 61d25b482fb88c3bb038b8b2bb83021eebb1ffe6..086f47133473f22d6b9f57709d395a237c2538dd 100644 (file)
- "weight"
- e.g. weight = <50>;
+ e.g. weight = <80>;
This attribute specifies the weight attached to the child node of a
weighted-round-robin node. It is an error to specify this attribute on a
- "output-rate"
- e.g. output-rate = <100000 1000>;
+ e.g. output-rate = <31250000 25000>;
The first element of this attribute specifies the output shaped rate in
bytes/second or packets/second (depending on the accounting mode for the
- "input-queues"
- e.g. input-queues = <0 4 8 12 56>;
+ e.g. input-queues = <8010 8065>;
This specifies a set of ingress queues that feed into a QoS node. This attribute
must be defined only for leaf nodes in the QoS tree. Specifying input queues
- "drop-policy"
+ e.g. drop-policy = "no-drop"
+
The drop-policy attribute specifies a drop policy to apply to a QoS
node (tail drop, random early drop, no drop, etc.) when the traffic
pattern exceeds specifies parameters. The drop-policy parameters are
- "random-early-drop"
- e.g. random-early-drop = <1000 50000 2000>;
+ e.g. random-early-drop = <32768 65536 2 2000>;
- The random-early-drop attribute specifies the following three parameters
+ The random-early-drop attribute specifies the following four parameters
in order:
- low threshold: No packets are dropped when the average queue depth is
above this threshold (in bytes). This parameter is
optional, and defaults to twice the low threshold.
+ - max drop probability: the maximum drop probability
+
- half-life: Specified in milli seconds. This is used to calculate
the average queue depth. This parameter
is optional and defaults to 2000.