aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-10-28 22:17:38 +0200
committerDamjan Marion <damarion@cisco.com>2016-10-28 22:22:57 +0200
commit435a64b530cef7d7a09624717f5235711acef459 (patch)
treef312e311f666e7f35cf539b28ca780ed2baf616d
parent3891cd851f294c24b937885b5e4db7934cd74ec4 (diff)
vppinfra: fix issue with bihash_8_8 hash function (VPP-518)
Change-Id: Ia9a484575d0142e89ec5b6b4c6c2e702e1098a1e Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--vppinfra/vppinfra/bihash_8_8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vppinfra/vppinfra/bihash_8_8.h b/vppinfra/vppinfra/bihash_8_8.h
index 4087d4dd568..a0d6df2e4c8 100644
--- 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