Fix BIHASH_KVP_CACHE_SIZE == 0 case 70/8270/2
authorDave Barach <dbarach@cisco.com>
Thu, 31 Aug 2017 09:58:22 +0000 (05:58 -0400)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 31 Aug 2017 12:02:49 +0000 (12:02 +0000)
commitc8ef08ac63231120900ca08608a61625db28f096
tree54e7f3f5850bb0124bebb5c31d28004e8e10d59c
parent9746552e98166cd07c5d77b26d805c5e602b0335
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>
src/vppinfra/bihash_8_8.h
src/vppinfra/bihash_template.c
src/vppinfra/bihash_template.h