From 8157a161c613c3cc83c1c4507ed141b21b9627b5 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 16 Sep 2020 17:06:45 +0200 Subject: 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 --- src/vnet/ip/ip4.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/vnet/ip/ip4.h') 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; -- cgit 1.2.3-korg