Next: Classes
Up: QoS Support in Linux
Previous: Usage - tc
The syntax for creating a queuing discipline is:
tc qdisc [ add | del | replace | change | get ] dev STRING
[ handle QHANDLE ] [ root | parent CLASSID ]
[ estimator INTERVAL TIME_CONSTANT ]
[ [ QDISC_KIND ] [ help | OPTIONS ] ]
tc qdisc show [ dev STRING ]
Where:
QDISC_KIND := { [p|b]fifo | tbf | prio | cbq | red | etc. }
The interpretation for the fields:
- handle represents the unique handle that is assigned by the user to
the queuing discipline. No two queuing disciplines can have the same handle.
- root indicates that the queue is at the root of a link sharing
hierarchy.
- parent represents the handle of the parent queuing discipline.
- estimator is used to determine if the requirements of the queue have
been satisfied. The INTERVAL and the TIME_CONSTANT are two parameters that are
of very high significance to the estimator. The way these parameters are set
is described in [3].
Saravanan Radhakrishnan
1999-09-30