From 1ec3652c25c593a7dcaae293b2f7dbed6eb15963 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 29 Nov 2017 05:20:37 -0800 Subject: Separate heap for IPv4 mtries Change-Id: I497e9f6489dd35219bcf2b51ac992467aac4c8eb Signed-off-by: Neale Ranns --- src/vnet/ip/ip4.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vnet/ip/ip4.h') diff --git a/src/vnet/ip/ip4.h b/src/vnet/ip/ip4.h index 4c5cc054c4a..f7e5fe332b1 100644 --- a/src/vnet/ip/ip4.h +++ b/src/vnet/ip/ip4.h @@ -148,6 +148,12 @@ typedef struct ip4_main_t u8 pad[2]; } host_config; + + /** Heapsize for the Mtries */ + uword mtrie_heap_size; + + /** The memory heap for the mtries */ + void *mtrie_mheap; } ip4_main_t; /** Global ip4 main structure. */ -- cgit 1.2.3-korg