vppinfra: allocate bihash virtual space on demand

Reduces the vpp image virtual size by multiple gigabytes

Add a "show bihash" command which displays configured and current
virtual space in use by bihash tables.

Modify the .py test framework to call "show bihash" on test tear-down

Type: refactor

Change-Id: Ifc1b7e2c43d29bbef645f6802fa29ff8ef09940c
Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/src/vnet/ip/ip4_reassembly.c b/src/vnet/ip/ip4_reassembly.c
index d5f0b8a..b894c3b 100644
--- a/src/vnet/ip/ip4_reassembly.c
+++ b/src/vnet/ip/ip4_reassembly.c
@@ -1291,6 +1291,7 @@
 	  clib_bihash_free_16_8 (&ip4_reass_main.hash);
 	  clib_memcpy_fast (&ip4_reass_main.hash, &new_hash,
 			    sizeof (ip4_reass_main.hash));
+	  clib_bihash_copied (&ip4_reass_main.hash, &new_hash);
 	}
     }
   return 0;