Patrick Reinhardt wrote:
Hello,

is it possible that the number of bands for the PRIO qdisc is limited to 16?

tc qdisc add dev $DEVICE root handle 1: prio bands 16 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

succeeds but

tc qdisc add dev $DEVICE root handle 1: prio bands 17 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

returns: 'RTNETLINK answers: Invalid argument'

Is there any possibility to raise the number of bands to a higher value?

Thank you in advance.

I got a better error message than that -

"priomap" index > TC_PRIO_MAX=15

Greping for TC_PRIO_MAX shows it's in both kernel and iproute2's copy of the headers - I don't know if you need to do both or not - but I would and recompile kernel and tc

/include/linux/pkt_sched.h:#define TC_PRIO_MAX                   15

Andy.
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to