aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_40_8.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-09-26 19:32:34 +0200
committerDamjan Marion <dmarion@me.com>2020-09-30 11:41:16 +0000
commit2454de2d4539943d4140839facf6a2a2ea795556 (patch)
tree1fa54cb417ef29074825a6e66579cb17fc66e6c8 /src/vppinfra/bihash_40_8.h
parent2a7c0b6fc027e86727c08d98b66e19ad8768c82b (diff)
vppinfra: use heap to store bihash data
Type: improvement Change-Id: Ifb0fa114414aa2fdc244f964612ca3ac3e29b5e1 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/bihash_40_8.h')
-rw-r--r--src/vppinfra/bihash_40_8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/bihash_40_8.h b/src/vppinfra/bihash_40_8.h
index 9cd2371afa7..1fb344fdeeb 100644
--- a/src/vppinfra/bihash_40_8.h
+++ b/src/vppinfra/bihash_40_8.h
@@ -20,12 +20,14 @@
#undef BIHASH_KVP_AT_BUCKET_LEVEL
#undef BIHASH_LAZY_INSTANTIATE
#undef BIHASH_BUCKET_PREFETCH_CACHE_LINES
+#undef BIHASH_USE_HEAP
#define BIHASH_TYPE _40_8
#define BIHASH_KVP_PER_PAGE 4
#define BIHASH_KVP_AT_BUCKET_LEVEL 0
#define BIHASH_LAZY_INSTANTIATE 1
#define BIHASH_BUCKET_PREFETCH_CACHE_LINES 1
+#define BIHASH_USE_HEAP 1
#ifndef __included_bihash_40_8_h__
#define __included_bihash_40_8_h__