Re: Maximum depth of HTB tree

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013.02.04 19:13:27 +0100, Aleš Rataj wrote:
> Is there any solution to enable more levels of depth as the 8? (This
> value is hardcoded in the code of kernel or iproute2 - where?)

Take a look at sch_htb.c:

Each class is assigned level. Leaf has ALWAYS level 0 and root classes
have level TC_HTB_MAXDEPTH-1. Interior nodes has level one less than
their parent.

Setting TC_HTB_MAXDEPTH in include/uapi/linux/pkt_sched.h to a higher
value should do the trick.

Regards,
Ben

Attachment: pgpzLDpPgDGHT.pgp
Description: PGP signature


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux