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 / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to