From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sun, 02 Jan 2005 00:07:28 +0000 Subject: Re: [LARTC] prio Message-Id: <41D73B40.2000207@dsl.pipex.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org kasp wrote: > Hi! > > Could somebody tell me, what is difference between these two prio > parameters in http://lartc.org/lartc.html#AEN2241 > > 1) tc class add dev $DEV parent 1:1 classid 1:10 htb rate ${UPLINK}kbit burst 6k prio 1 > ^^^^^^ > AND > > 2) tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff flowid 1:10 > ^^^^^^^ > > Why they aren't equal? > Is there some rules to set prio for each of them? > > prio on htb mainly affects the way it shares excess bandwidth - the lower the number the higher the priority. On filters it lets you choose the order your rules get tested against the packets. I haven't look at the script - but the prio on the filter is unlikely to make any noticable difference if changed/ommitted. Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/