From: Dave Barach Date: Wed, 7 Feb 2018 18:14:06 +0000 (-0500) Subject: Minimize bihash memory consumption X-Git-Tag: v18.04-rc1~355 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=e7d212fe41de88863884dc24dff9e24e5f37b421;hp=e7d212fe41de88863884dc24dff9e24e5f37b421;p=vpp.git Minimize bihash memory consumption Reference-count the number of entries in each bucket. If the reference count goes to zero, free the backing store. Add long-term churn-testing to test_bihash_template.c, thanks to Andrew Yourtchenko for the initial implementation. Change-Id: I4fbd9229cacfaba8027a85cbf87b74afdead6e39 Signed-off-by: Dave Barach ---