aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_template.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-06 17:28:12 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-05-06 16:29:00 +0000
commit4a251d0a9c6a6a5981b6bc6500994fa9b8f1c43c (patch)
tree71c103981c8d1528e7d410cb84380bf0f2f18e72 /src/vppinfra/bihash_template.c
parent2c4acdd8d47a14867d9658debc674323efc78323 (diff)
vppinfra: fix tests
Type: fix Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/bihash_template.c')
-rw-r--r--src/vppinfra/bihash_template.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vppinfra/bihash_template.c b/src/vppinfra/bihash_template.c
index 0c6aa2a3e5e..ddaccbdb126 100644
--- a/src/vppinfra/bihash_template.c
+++ b/src/vppinfra/bihash_template.c
@@ -23,6 +23,10 @@
#define BIIHASH_MIN_ALLOC_LOG2_PAGES 10
#endif
+#ifndef BIHASH_USE_HEAP
+#define BIHASH_USE_HEAP 1
+#endif
+
static inline void *BV (alloc_aligned) (BVT (clib_bihash) * h, uword nbytes)
{
uword rv;