From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amit Kucheria Date: Sun, 25 Aug 2002 21:01:38 +0000 Subject: Re: [LARTC] HTB3 port for 2.2.18? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sun, 25 Aug 2002, Julian Anastasov wrote: > # 3 GRED qdiscs for the 3 drop priorities of real time packets > -$TC qdisc add $DEV parent 2:1 gred limit 12KB min 3KB max 9KB \ > +$TC qdisc change $DEV parent 2:1 gred limit 12KB min 3KB max 9KB \ > burst 20 $AVPKT $BW DP 1 probability 0.02 prio 2 > -$TC qdisc add $DEV parent 2:1 gred limit 12KB min 3KB max 9KB \ > +$TC qdisc change $DEV parent 2:1 gred limit 12KB min 3KB max 9KB \ > burst 20 $AVPKT $BW DP 2 probability 0.04 prio 3 > -$TC qdisc add $DEV parent 2:1 gred limit 12KB min 3KB max 9KB \ > +$TC qdisc change $DEV parent 2:1 gred limit 12KB min 3KB max 9KB \ > burst 20 $AVPKT $BW DP 3 probability 0.06 prio 4 > i.e. first time it is "qdisc add", later the qdisc is changed > with "qdisc change". > > Let me know if this is the only problem and whether > GRED is working properly. Thanks. Hi, It works now! It seems to me that the semantics of the GRED qdisc with respect to 'tc' have changed. The script I had provided worked with CBQ i.e. 'qdisc add' was used 3 times to add the GRED qdiscs with different drop probabilities. Thanks a lot. Regards, Amit -- I'm an angel!!! Honest! The horns are just there to hold the halo up straight. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant University of Kansas @ Lawrence (R): +1-785-830-8521 ||| (C): +1-785-760-2871 ____________________________________________________ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/