vppinfra: allocate bihash virtual space on demand 46/20546/4
authorDave Barach <dave@barachs.net>
Mon, 8 Jul 2019 16:25:38 +0000 (12:25 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 9 Jul 2019 02:23:00 +0000 (02:23 +0000)
commit32dcd3b2f227dec638c39ade0c58d6741d83ec30
tree8d9a2a1761b5d5c6ec88445b9385ef8c991df535
parent369db83f91a411977015748a74c5a4579170a16c
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>
src/vnet/ip/ip4_reassembly.c
src/vnet/ip/ip6_reassembly.c
src/vnet/l2/l2_fib.c
src/vpp/vnet/main.c
src/vppinfra/CMakeLists.txt
src/vppinfra/bihash_all_vector.c [new file with mode: 0644]
src/vppinfra/bihash_template.c
src/vppinfra/bihash_template.h
test/framework.py