From fae283702fb73bec0abee76095bb76aa0a537b9d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 12 Feb 2008 16:42:51 -0800 Subject: restrict class to 3...4095 Need to reserve: Class 1 for root class Class 2 for default class because dsmark needs to allocate an array and reserving 0x4000 for the default class would cause lots of extra memory wasteage. --- templates/qos-policy/traffic-shaper/node.tag/class/node.def | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/qos-policy') diff --git a/templates/qos-policy/traffic-shaper/node.tag/class/node.def b/templates/qos-policy/traffic-shaper/node.tag/class/node.def index 682fd6c..baebbda 100644 --- a/templates/qos-policy/traffic-shaper/node.tag/class/node.def +++ b/templates/qos-policy/traffic-shaper/node.tag/class/node.def @@ -1,4 +1,6 @@ tag: type: u32 help: Configure class handle -syntax:expression: ($VAR(@) > 1 && $VAR(@) < 65536) ; "$VAR(@) handle must be between 2 and 65535" +syntax:expression: ($VAR(@) > 2 && $VAR(@) < 4096) ; "$VAR(@) handle must be between 3 and 4095" +comp_help: possible completions + <3-4095> Class ID -- cgit v1.2.3