From: Intel Date: Tue, 12 Mar 2013 11:03:00 +0000 (+0100) Subject: mem: 64-bit mempool sizes X-Git-Tag: spdx-start~11290 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c4641b4b1e293690c284c41e824243b14f3ee745;p=dpdk.git mem: 64-bit mempool sizes Signed-off-by: Intel --- 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;