[LARTC] Hashtables major:minor and prio
Catalin BOIE
util@deuroconsult.ro
Fri, 25 Jun 2004 10:23:04 +0300 (EEST)
> I have a question about a few things:
>
> ok when you have parent x:x and handle x:x link x:x flowid and so on. What is the
> max values of each of these, also where these or some of these hex numbers? I tried
> this on redhat 7.3 so there may have been some updates, but this is one of the tests
> I did.
>
> [root@RL1 root]# tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 ht fffe::
> match ip dst 10.2.0.0/16 hashkey mask 0x0000ff00 at 16 link 2:
> Illegal "ht"
> So I assume that that FFFE:: is too large so I found that
> tc filter add dev eth0 protocol ip parent 1:0 prio 10 u32 ht fff:: match ip dst
> 10.2.0.0/16 hashkey mask 0x0000ff00 at 16 link 7:
> so it works with fff I guess does this mean its an 24 bit number?
> Would this be true for the rest of the numbers?
>
> So if someone knows the max numbers for each of these and so on that would be kewl.
ht is like this xxxyyzzz
Where x, y and z are hexa numbers.
xxx is hash table id, yy is the hash id and zzz is the id of a hash
node.
Check pkt_cls.h for more info.
---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/