Hello,
I have a question concerning the u32 filter example in the Linux
QoS HOWTO (http://qos.ittc.ukans.edu/howto/node48.html) - I have not been
able to figure out what the "link" parameter is for, what the hash tables
in u32 are for, and what is the slot numbering. In the howto you wrote:
[...]
: # Lookup hash table and it it is not fragmented, use the protocol as the hash
: # key.
: tc filter add dev eth0 parent 2:0 prio 3 handle ::1 u32 ht 800:: match ip
: nofrag offset mask 0x0F00 shift 6 hashkey mask 0x00ff0000 at 8 link 1:
: tc filter add dev eth0 parent 2:0 prio 3 handle ::1 u32 ht 800:: match ip
: nofrag offset mask 0x0F00 shift 6 hashkey mask 0x00ff0000 at 8 link 2:
[...]
What the "link 1:" and "link 2:" parameters in the above code
refer to?
[...]
: # Creating hash tables for classification of the packets to testbed13
: tc filter add dev eth0 parent 3:0 prio 7 handle 3: u32 divisor 256
: tc filter add dev eth0 parent 3:0 prio 7 handle 4: u32 divisor 256
:
: # Configuring the 6th slot of the hash table 3 to select packets with
: # destination set to testbed13 and the port set to 6021 (0x1785) and direct
: # these to class 3:2 (which was just set up).
: tc filter add dev eth0 parent 3:0 prio 7 u32 ht 3:6: match ip dst
: 129.237.125.148 match tcp dst 0x1785 0xffff flowid 3:2
[...]
Why do you use the 6th slot (where the number 6 came from)?
Thanx in advance,
-Yenya
--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz> http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz 0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\ Czech Linux Homepage: http://www.linux.cz/ ///
Its purely bandwidth. If it was 40 instances of Miguel reading web pages
flat out over 100baseT you would definitely be right. But its not... (Alan)
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]