summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_8_8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/bihash_8_8.h')
-rw-r--r--src/vppinfra/bihash_8_8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/bihash_8_8.h b/src/vppinfra/bihash_8_8.h
index a0d6df2e4c8..d70da5966e2 100644
--- a/src/vppinfra/bihash_8_8.h
+++ b/src/vppinfra/bihash_8_8.h
@@ -53,6 +53,7 @@ clib_bihash_is_free_8_8 (clib_bihash_kv_8_8_t * v)
static inline u64
clib_bihash_hash_8_8 (clib_bihash_kv_8_8_t * v)
{
+ /* Note: to torture-test linear scan, make this fn return a constant */
#if __SSE4_2__
return _mm_crc32_u64 (0, v->key);
#else