What is the maximum value for "prio"? It seems that for htb its maximum is 7. Is that right? R. -- ___________________________________________________________________ It''s so simple to be wise. Just think of something stupid to say and say the opposite. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+
richard lucassen wrote:> What is the maximum value for "prio"? It seems that for htb its maximum > is 7. Is that right?Yes 0-7 it''s the same for levels but you can change levels IIRC, not sure if you can change the prio - or if changing levels changes it though. Andy.
Andy Furniss wrote:> richard lucassen wrote: > >> What is the maximum value for "prio"? It seems that for htb its maximum >> is 7. Is that right? > > > Yes 0-7 it''s the same for levels but you can change levels IIRC, not > sure if you can change the prio - or if changing levels changes it though.It looks like you can change it - I found include/linux/pkt_sched.h:#define TC_HTB_NUMPRIO 8 include/linux/pkt_sched.h:#define TC_HTB_MAXDEPTH 8 Andy.
On Tue, 17 May 2005 23:36:29 +0100 Andy Furniss <andy.furniss@dsl.pipex.com> wrote:> >> What is the maximum value for "prio"? It seems that for htb its > >maximum > is 7. Is that right? > > > > > > Yes 0-7 it''s the same for levels but you can change levels IIRC, not > > > > sure if you can change the prio - or if changing levels changes it > > though. > > It looks like you can change it - I found > > include/linux/pkt_sched.h:#define TC_HTB_NUMPRIO 8 > include/linux/pkt_sched.h:#define TC_HTB_MAXDEPTH 8Ok, thnx. I saw that if you enter a value > 7, tc replaces it by "7". There''s no need for more priorities, but I couldn''t find it in the docs. R. -- ___________________________________________________________________ It''s so simple to be wise. Just think of something stupid to say and say the opposite. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | | Public key and email address: | | http://www.lucassen.org/mail-pubkey.html | +------------------------------------------------------------------+