From mboxrd@z Thu Jan 1 00:00:00 1970 From: Devanshu Mehta Date: Wed, 08 Feb 2006 05:30:14 +0000 Subject: Re: [LARTC] Divisor Message-Id: <43E981E6.6080206@ll.mit.edu> List-Id: References: <43E93D25.8000003@tlen.pl> In-Reply-To: <43E93D25.8000003@tlen.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Not sure about the divisor; but your number 800 can be any hexadecimal number (within reason). This value is the name of the hash table, so each hash table should have it's own name (i.e. 800::, 801::, etc.) Someone can correct me if I am wrong, because I don't have a lot of experience with HTs. Devanshu Konrad wrote: > What is the difference between lines below? > > $TC filter add dev imq0 parent 1:0 prio 5 handle 1: protocol ip u32 > divisor 1 > $TC filter add dev imq0 parent 1:0 prio 5 handle 2: protocol ip u32 > divisor 256 > > What divisor is doing? > > And the last problem... > > $TC filter add dev imq0 protocol ip parent 1:0 prio 5 u32 ht 800:: > match ip src 10.0.0.0/16 hashkey mask 0x000000ff at 12 link 2: > > Why after ht should be 800? > When 801:: is correct value? When this value should be different. > > Please help me understand this. > > -- > Konrad aka Lenthir > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > -- Devanshu Mehta Advanced Networks and Applications Group MIT Lincoln Laboratory _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc