David S. Miller wrote:
From: Rick Jones <[EMAIL PROTECTED]>
Date: Tue, 08 Nov 2005 11:11:17 -0800
What are the two lines xoring h with shifts of itself meant to be doing?
So that all the upper bits get mixed into the hash somehow, regardless
of the size of the hash table.
Is there a test case I may have missed - otherwise it looks like it was adding
much randomness - particularly in the case of the IP's being "close" to one
another - the xor tends to "knock-out" the upper bits of the IPs. And even when
the remote IPs were random, the two seemed to produce quite similar results.
rick jones
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html