From mboxrd@z Thu Jan 1 00:00:00 1970 From: gypsy Date: Sun, 06 Nov 2005 17:42:06 +0000 Subject: Re: [LARTC] tc qdisc replace failing Message-Id: <436E406E.DC8C4E51@iswest.com> List-Id: References: <200511061553.59671.lartc-337@ccp.com.au> In-Reply-To: <200511061553.59671.lartc-337@ccp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Lee Sanders wrote: > > 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 I believe that replace is still broken so, if I'm correct, the answer is, "replace does not work." -- gypsy _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc