From c4641b4b1e293690c284c41e824243b14f3ee745 Mon Sep 17 00:00:00 2001 From: Intel Date: Tue, 12 Mar 2013 12:03:00 +0100 Subject: [PATCH] mem: 64-bit mempool sizes Signed-off-by: Intel --- lib/librte_mempool/rte_mempool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index a54f62e10f..747e65d282 100644 --- a/lib/librte_mempool/rte_mempool.c +++ b/lib/librte_mempool/rte_mempool.c @@ -133,11 +133,10 @@ rte_mempool_create(const char *name, unsigned n, unsigned elt_size, struct rte_mempool *mp = NULL; struct rte_ring *r; const struct rte_memzone *mz; - size_t mempool_size; + uint64_t mempool_size, total_elt_size; int mz_flags = RTE_MEMZONE_1GB|RTE_MEMZONE_SIZE_HINT_ONLY; int rg_flags = 0; uint32_t header_size, trailer_size; - uint32_t total_elt_size; unsigned i; void *obj; -- 2.20.1