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. Another is the prio with the filters I''m not sure how the prio works. Could someone give me an example out the prio might be used in filtering? One more the divisor option currenlty seems to have a max of 256. Are their any plans to change this? or is that a bad idea? Thank you for your help. -- When dealing with a slow pipe, never underestimate the throughput of the postal system. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 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@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/