mem: 64-bit mempool sizes

Signed-off-by: Intel
This commit is contained in:
Intel 2013-03-12 12:03:00 +01:00 committed by Thomas Monjalon
parent dd61b34d58
commit c4641b4b1e

View File

@ -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;