LARTC
[Top] [All Lists]

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

To: Gabriel Somlo <gsomlo@gmail.com>
Subject: Re: [LARTC] Please Help: Can't access bands > 10 on prio qdisc
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Tue, 03 Apr 2007 22:04:48 +0100
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <2387247e0704021638j497cb0b9nf86099a90d878576@mail.gmail.com>
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>
References: <2387247e0704021638j497cb0b9nf86099a90d878576@mail.gmail.com>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.2) Gecko/20070227 SeaMonkey/1.1.1
Gabriel Somlo wrote:
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,

Try using hex 1:a etc 1:10 would be 16 (assuming the bands is decimal) if that doesn't work you could always try multiple ifbs.

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

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