diff options
author | Damjan Marion <damarion@cisco.com> | 2020-09-16 17:06:45 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-09-21 14:04:19 +0000 |
commit | 8157a161c613c3cc83c1c4507ed141b21b9627b5 (patch) | |
tree | 63e6072058e2427702d85c3d5fbaa44942b301af /src/vnet/ip/ip4.h | |
parent | 88caf28354133160d2446e939f1e54adb71cc144 (diff) |
ip: use main heap for mtrie
Main heap can be hugepage backed so it is more efficient to use
main heap instead of allocating special heap just for mtrie....
Type: improvement
Change-Id: I210912ab8567c043205ddfc10fdcfde9a0fa7757
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip4.h')
-rw-r--r-- | src/vnet/ip/ip4.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/ip/ip4.h b/src/vnet/ip/ip4.h index f5ed9385232..8fba33f8d6e 100644 --- a/src/vnet/ip/ip4.h +++ b/src/vnet/ip/ip4.h @@ -170,9 +170,6 @@ typedef struct ip4_main_t /** Use hugetlb pages for the Mtries */ int mtrie_hugetlb; - /** The memory heap for the mtries */ - void *mtrie_mheap; - /** ARP throttling */ throttle_t arp_throttle; |