Re: Hashtables major:minor and prio

Linux Advanced Routing and Traffic Control

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

 



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/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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