[PPPOE]: Improve hashing function in hash_item().
authorFlorian Zumbiehl <florz@florz.de>
Tue, 31 Jul 2007 20:47:57 +0000 (13:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Jul 2007 20:47:57 +0000 (13:47 -0700)
commitf1543f8b8316f49b318ac6cd8c78a7fd18509311
tree50506ab3d7057e9de2e65bf726ad48043cfbfc45
parent48b8d78315bf2aef4b6b4fb41c2c94e0b6600234
[PPPOE]: Improve hashing function in hash_item().

The new code produces the same results as the old version and is
~ 3 to 6 times faster for 4-bit hashes on the CPUs I tested.

Signed-off-by: Florian Zumbiehl <florz@florz.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c