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

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux