Explain TC class id limits

This commit is contained in:
Stephen Hemminger 2012-08-20 10:58:58 -07:00
parent da7fbb24c7
commit d89fbf3223
1 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class-id ] qdisc
.B tc filter [ add | change | replace | delete ] dev .B tc filter [ add | change | replace | delete ] dev
DEV DEV
.B [ parent .B [ parent
qdisc-id qdisc-id
.B | root ] protocol .B | root ] protocol
protocol protocol
@ -38,7 +38,7 @@ flow-id
.RI "[ " FORMAT " ]" .RI "[ " FORMAT " ]"
.B qdisc show [ dev .B qdisc show [ dev
DEV DEV
.B ] .B ]
.P .P
.B tc .B tc
.RI "[ " FORMAT " ]" .RI "[ " FORMAT " ]"
@ -233,7 +233,10 @@ attached to that class. Check qdisc specific manpages for details, however.
All qdiscs, classes and filters have IDs, which can either be specified All qdiscs, classes and filters have IDs, which can either be specified
or be automatically assigned. or be automatically assigned.
IDs consist of a major number and a minor number, separated by a colon. ID's consist of a major number and a minor number, separated by a colon.
Both major and minor number are limited to 16 bits. There are two special
values: root is signified by major and minor of all ones, and unspecified
is all zeros.
.TP .TP
QDISCS QDISCS