vppinfra: fix minor cuckoo bugs and add cuckoo_16_8
Type: improvement
Change-Id: If1164d2eb81e9d4748436cb1bb8b164857d70565
Signed-off-by: Klement Sekera <ksekera@cisco.com>
diff --git a/src/vppinfra/cuckoo_8_8.h b/src/vppinfra/cuckoo_8_8.h
index a3d07c8..ace535b 100644
--- a/src/vppinfra/cuckoo_8_8.h
+++ b/src/vppinfra/cuckoo_8_8.h
@@ -79,7 +79,7 @@
if (clib_cuckoo_kv_is_free_8_8 (v))
{
- s = format (s, " -- empty -- ", v->key, v->value);
+ s = format (s, " -- empty -- ");
}
else
{
@@ -108,10 +108,8 @@
return a == b;
}
-#if 0
#undef __included_cuckoo_template_h__
#include <vppinfra/cuckoo_template.h>
-#endif
#endif /* __included_cuckoo_8_8_h__ */