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
(from:
b291e69
)
mempool: introduce function to get mempool page size
author
Olivier Matz
<olivier.matz@6wind.com>
Tue, 5 Nov 2019 15:37:03 +0000
(16:37 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 6 Nov 2019 10:11:12 +0000
(11:11 +0100)
In rte_mempool_populate_default(), we determine the page size,
which is needed for calc_size and allocation of memory.
Move this in a function and export it, it will be used in a next
commit.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
No differences found