diff options
author | Neale Ranns <nranns@cisco.com> | 2017-11-29 05:20:37 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-12-13 16:07:34 +0000 |
commit | 1ec3652c25c593a7dcaae293b2f7dbed6eb15963 (patch) | |
tree | 73df6da6b53fa963cf6915e9c7d7c453d8bedfe7 /src/vnet/ip/ip4.h | |
parent | 8716e6bf43b7043790980c6ef0bd21d42b34a2a1 (diff) |
Separate heap for IPv4 mtries
Change-Id: I497e9f6489dd35219bcf2b51ac992467aac4c8eb
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip4.h')
-rw-r--r-- | src/vnet/ip/ip4.h | 6 |
1 files changed, 6 insertions, 0 deletions
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. */ |