From: Damjan Marion Date: Fri, 28 Oct 2016 20:17:38 +0000 (+0200) Subject: vppinfra: fix issue with bihash_8_8 hash function (VPP-518) X-Git-Tag: v17.01-rc0~35 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F3627%2F2;p=vpp.git vppinfra: fix issue with bihash_8_8 hash function (VPP-518) Change-Id: Ia9a484575d0142e89ec5b6b4c6c2e702e1098a1e Signed-off-by: Damjan Marion --- 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