LARTC
[Top] [All Lists]

[LARTC] Please Help: Can't access bands > 10 on prio qdisc

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Please Help: Can't access bands > 10 on prio qdisc
From: "Gabriel Somlo" <gsomlo@gmail.com>
Date: Mon, 2 Apr 2007 19:38:29 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kZ3c9A/Ji1pqcGFo0IP4xxyIjb/Ixm86+RlIsStpaQollUsQ4amPNj00+CWTJWD/rE/+hzvpSr2F818I5BLprH8nS53rwaHGqauXLS/kzd8S84JB+DklXcnlV1f6vO1S0jzHgCxz+272JoM9F5lRVX4zu0G/ZRiXCKQ5SV6xlqo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ncgiXVQakg4OJgUhEWjHhWmMjo8dTG8koxMKPI5FzJlt6V9ghr3NqzfSOdL2tkx593tlRISoMSm1IEDYI7gjJN2L/ivrrVu4DMkO/GwOQHXab9o/pU61d9fKrbRV0dYC4ETQW4bQ2fH66ppE08WspEiydt7wafyokXc8flYGVAo=
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
Hi,

I'm trying to set up 15 different delay intervals for packets leaving
on an interface, using netems hanging off of a 16-band prio.

I'm having trouble adding anything to bands higher than 10. Here's
what I tried:

       tc qdisc add dev eth0 root handle 1: prio bands 16 \
               priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

I want all default traffic to go to the highest priority band (0),
regardless of the TOS bits and whatever. I'll add filters to place
select packets in lower priority bands (1..15). So far, so good.
Next:

       tc qdisc add dev eth0 parent 1:10 handle 100: netem delay 20ms

This works fine, adding a netem qdisc to band 10. However, when I try
this:

       tc qdisc add dev eth0 parent 1:11 handle 110: netem delay 30ms

I get an error:

       RTNETLINK answers: Invalid argument

The "invalid argument" it's bitching about is "parent 1:11". What am I
doing wrong ? Parents 1:1 through 1:10 work fine, but as soon as I go
11 or above, I get this error...

Thanks for any pointers or ideas,

Gabriel
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>