Re: [dpdk-dev] [PATCH 1/5] mempool: allow unaligned addr/len in populate virt

2019-10-29 Thread Olivier Matz
Hi Andrew, On Tue, Oct 29, 2019 at 12:21:27PM +0300, Andrew Rybchenko wrote: > On 10/28/19 5:01 PM, Olivier Matz wrote: > > rte_mempool_populate_virt() currently requires that both addr > > and length are page-aligned. > > > > Remove this uneeded constraint which can be annoying with big > > huge

Re: [dpdk-dev] [PATCH 1/5] mempool: allow unaligned addr/len in populate virt

2019-10-29 Thread Andrew Rybchenko
On 10/28/19 5:01 PM, Olivier Matz wrote: rte_mempool_populate_virt() currently requires that both addr and length are page-aligned. Remove this uneeded constraint which can be annoying with big hugepages (ex: 1GB). Signed-off-by: Olivier Matz One note below, other than that Reviewed-by: Andr

[dpdk-dev] [PATCH 1/5] mempool: allow unaligned addr/len in populate virt

2019-10-28 Thread Olivier Matz
rte_mempool_populate_virt() currently requires that both addr and length are page-aligned. Remove this uneeded constraint which can be annoying with big hugepages (ex: 1GB). Signed-off-by: Olivier Matz --- lib/librte_mempool/rte_mempool.c | 18 +++--- lib/librte_mempool/rte_mempool.