FIB2.0: memory leaks during load-balance update (VPP-475) 16/3316/3
authorNeale Ranns <[email protected]>
Fri, 7 Oct 2016 14:14:33 +0000 (15:14 +0100)
committerDamjan Marion <[email protected]>
Mon, 10 Oct 2016 18:58:22 +0000 (18:58 +0000)
commit33a7dd5ad9a3d3ecd9bd8472ca20ee5f82ae9542
tree039a067b44b25df78a3aa2d14d4dc558c79dc9d7
parentbfe737a1b29afea2e10248b8c9fa800148fbd573
FIB2.0: memory leaks during load-balance update (VPP-475)

some other fixes and enhancemets to address failures in the IPv6 Scale testing:
 - The rate at which VPP sends ARP/ND requests, 1 per-millisecond, is too high. This is reduced to 1 every 10 ms. probably still too high.
 - If an ARP/ND response is received that does not contain a change to the known MAC address, no further processing is done.
 - Added stats to get info about the async FIB walks.
 - When walking FIB entries and performing a load-balance update, it is not necessary to re-insert the LB in the forwarding table.

Change-Id: Ifd47e4bdbce94495f44aaf1b78e7d1395ed870d1
Signed-off-by: Neale Ranns <[email protected]>
13 files changed:
vnet/vnet/dpo/load_balance.c
vnet/vnet/ethernet/arp.c
vnet/vnet/fib/fib_entry.c
vnet/vnet/fib/fib_entry_src.c
vnet/vnet/fib/fib_entry_src_mpls.c
vnet/vnet/fib/fib_path.c
vnet/vnet/fib/fib_path_list.c
vnet/vnet/fib/fib_test.c
vnet/vnet/fib/fib_types.h
vnet/vnet/fib/fib_walk.c
vnet/vnet/ip/ip6_neighbor.c
vnet/vnet/ip/lookup.h
vpp-api-test/vat/api_format.c