git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd61b34
)
mem: 64-bit mempool sizes
author
Intel
<intel.com>
Tue, 12 Mar 2013 11:03:00 +0000
(12:03 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 25 Jul 2013 14:07:51 +0000
(16:07 +0200)
Signed-off-by: Intel
lib/librte_mempool/rte_mempool.c
patch
|
blob
|
history
diff --git
a/lib/librte_mempool/rte_mempool.c
b/lib/librte_mempool/rte_mempool.c
index
a54f62e
..
747e65d
100644
(file)
--- 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;