Add lookup3-based hash for bytes, and remove FNV hash entirely.
authorBen Pfaff <blp@nicira.com>
Tue, 6 Jan 2009 20:55:14 +0000 (12:55 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Jan 2009 18:43:44 +0000 (10:43 -0800)
commit967da83e032e31f1cf680ffacab1cc46565411cf
treebe7521a8718f4a84f0752813a46dbd1b7c3d3172
parent1e046b9640947378fd1f314d0fede9632e5fd46a
Add lookup3-based hash for bytes, and remove FNV hash entirely.

The lookup3 hash is superior to FNV.  This change makes OpenFlow use
lookup3 exclusively, by adding a variant of it that can hash arbitrary
byte sequences.
lib/flow.h
lib/hash.c
lib/hash.h
lib/mac-learning.c
lib/tag.c
tests/test-hmap.c
vswitchd/bridge.c