summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_8_8_stats.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_8_8_stats.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_8_8_stats.h')
-rw-r--r--src/vppinfra/bihash_8_8_stats.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/bihash_8_8_stats.h b/src/vppinfra/bihash_8_8_stats.h
index 5aceb1bdc81..2237a0d624f 100644
--- a/src/vppinfra/bihash_8_8_stats.h
+++ b/src/vppinfra/bihash_8_8_stats.h
@@ -19,6 +19,7 @@
#undef BIHASH_KVP_AT_BUCKET_LEVEL
#undef BIHASH_LAZY_INSTANTIATE
#undef BIHASH_BUCKET_PREFETCH_CACHE_LINES
+#undef BIHASH_USE_HEAP
#define BIHASH_TYPE _8_8_stats
#define BIHASH_KVP_PER_PAGE 4
@@ -26,6 +27,7 @@
#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_8_8_stats_h__
#define __included_bihash_8_8__stats_h__