From 4a251d0a9c6a6a5981b6bc6500994fa9b8f1c43c Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 6 May 2021 17:28:12 +0200 Subject: vppinfra: fix tests Type: fix Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2 Signed-off-by: Damjan Marion --- src/vppinfra/bihash_template.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vppinfra/bihash_template.c') 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; -- cgit 1.2.3-korg