Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3891cd8
)
vppinfra: fix issue with bihash_8_8 hash function (VPP-518)
27/3627/2
author
Damjan Marion
<damarion@cisco.com>
Fri, 28 Oct 2016 20:17:38 +0000
(22:17 +0200)
committer
Damjan Marion
<damarion@cisco.com>
Fri, 28 Oct 2016 20:22:57 +0000
(22:22 +0200)
Change-Id: Ia9a484575d0142e89ec5b6b4c6c2e702e1098a1e
Signed-off-by: Damjan Marion <damarion@cisco.com>
vppinfra/vppinfra/bihash_8_8.h
patch
|
blob
|
history
diff --git
a/vppinfra/vppinfra/bihash_8_8.h
b/vppinfra/vppinfra/bihash_8_8.h
index
4087d4d
..
a0d6df2
100644
(file)
--- a/
vppinfra/vppinfra/bihash_8_8.h
+++ b/
vppinfra/vppinfra/bihash_8_8.h
@@
-54,7
+54,7
@@
static inline u64
clib_bihash_hash_8_8 (clib_bihash_kv_8_8_t * v)
{
#if __SSE4_2__
- return _mm_crc32_u64 (
v->key, 0
);
+ return _mm_crc32_u64 (
0, v->key
);
#else
return clib_xxhash (v->key);
#endif