Skip to contentSkip to conversation

tc qdisc replace failing

LARTC Lee Sanders 2 participants 2 messages Nov 6, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Having issues getting a replace command working correctly. The error reported is "RTNETLINK answers: Invalid argument" which isn't descriptive or helpful.

The command i'm running is:

tc qdisc replace dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 5kb latency 70ms

The idea being to replace an sfq with handle D and hopefully limit a certain user in my WRR class. If I delete the qdisc first and add with the below line it works.

tc qdisc del dev ppp0 parent 8001:D handle D:
tc qdisc add dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 1540 latency 70ms

Anyone see what I'm doing wrong ?

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

#1 lore raw
Quoted 15 lines · Lee Sanders

Hi,

Having issues getting a replace command working correctly. The error reported is "RTNETLINK answers: Invalid argument" which isn't descriptive or helpful.

The command i'm running is:

tc qdisc replace dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 5kb latency 70ms

The idea being to replace an sfq with handle D and hopefully limit a certain user in my WRR class. If I delete the qdisc first and add with the below line it works.

Quoted 7 lines

tc qdisc del dev ppp0 parent 8001:D handle D:
tc qdisc add dev ppp0 parent 8001:D handle D: tbf rate 5Kbit burst 1540 latency 70ms

Anyone see what I'm doing wrong ?

:Lee

I believe that replace is still broken so, if I'm correct, the answer is, "replace does not work."
--
gypsy
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc