From c8ef08ac63231120900ca08608a61625db28f096 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Thu, 31 Aug 2017 05:58:22 -0400 Subject: Fix BIHASH_KVP_CACHE_SIZE == 0 case Setting the bucket-level LRU cache size to zero removes the bucket-level LRU cache code. Change-Id: Idf2e63d0d508675e957366515863766f79a3479c Signed-off-by: Dave Barach --- src/vppinfra/bihash_8_8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/bihash_8_8.h') diff --git a/src/vppinfra/bihash_8_8.h b/src/vppinfra/bihash_8_8.h index f81002d6..2deb64ef 100644 --- a/src/vppinfra/bihash_8_8.h +++ b/src/vppinfra/bihash_8_8.h @@ -18,7 +18,7 @@ #define BIHASH_TYPE _8_8 #define BIHASH_KVP_PER_PAGE 4 -#define BIHASH_KVP_CACHE_SIZE 5 +#define BIHASH_KVP_CACHE_SIZE 0 #ifndef __included_bihash_8_8_h__ #define __included_bihash_8_8_h__ -- cgit 1.2.3-korg