From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Radoslaw Horodniczy" Date: Tue, 28 Mar 2006 09:47:51 +0000 Subject: Re: [LARTC] prio, kernel 2.6: patch? Message-Id: <025a01c6524c$ae642a70$08020a0a@HT003> List-Id: References: <49734.192.168.10.150.1143535491.squirrel@mail.duet.it> In-Reply-To: <49734.192.168.10.150.1143535491.squirrel@mail.duet.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > hi to all, > I'm sorry, the previous mail was incomplete. I rewrite all COMPLETE > informations. > > I'm studying traffic shaping using kernel 2.6.8 (debian sarge). > > well, I have this problem: priority doesn't work. > I try with: > - qdisc prio: > tc qdisc add dev eth1 root handle 12: prio bands 3 > tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit \ > buffer 1600 limit 3000 > tc qdisc add dev eth1 parent 12:2 handle 14: tbf rate 10Mbit \ > buffer 1600 limit 3000 > tc qdisc add dev eth1 parent 12:3 handle 15: tbf rate 10Mbit \ > buffer 1600 limit 3000 > > tc filter add dev eth1 protocol ip handle $MARK1 fw flowid 12:1 > tc filter add dev eth1 protocol ip handle $MARK2 fw flowid 12:2 > tc filter add dev eth1 protocol ip handle $MARK3 fw flowid 12:3 Yes there is a bug with PRIO, as I know from kernel 2.6.12 there is no this bug. Try to find patch for file cls_u32.c or install new kernel Regards Radek _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc