aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_8_8.h
diff options
context:
space:
mode:
authorDave Barach <dbarach@cisco.com>2017-08-31 05:58:22 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-08-31 12:02:49 +0000
commitc8ef08ac63231120900ca08608a61625db28f096 (patch)
tree54e7f3f5850bb0124bebb5c31d28004e8e10d59c /src/vppinfra/bihash_8_8.h
parent9746552e98166cd07c5d77b26d805c5e602b0335 (diff)
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 <dbarach@cisco.com>
Diffstat (limited to 'src/vppinfra/bihash_8_8.h')
-rw-r--r--src/vppinfra/bihash_8_8.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/bihash_8_8.h b/src/vppinfra/bihash_8_8.h
index f81002d6589..2deb64ef438 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__