Re: [dpdk-dev] [PATCH] mempool: fix alignment of memzone length when populating

2018-05-03 Thread Olivier Matz
On Thu, May 03, 2018 at 12:34:59PM +0300, Andrew Rybchenko wrote: > Hi Olivier, > > On 05/02/2018 11:13 PM, Olivier Matz wrote: > > When populating a mempool with the default function, if there is not > > enough virtually contiguous memory for the whole mempool, it will be > > populated with sever

Re: [dpdk-dev] [PATCH] mempool: fix alignment of memzone length when populating

2018-05-03 Thread Andrew Rybchenko
Hi Olivier, On 05/02/2018 11:13 PM, Olivier Matz wrote: When populating a mempool with the default function, if there is not enough virtually contiguous memory for the whole mempool, it will be populated with several chunks. A chunk of the maximum available length is requested with: mz = rte

Re: [dpdk-dev] [PATCH] mempool: fix alignment of memzone length when populating

2018-05-03 Thread Burakov, Anatoly
On 02-May-18 9:13 PM, Olivier Matz wrote: When populating a mempool with the default function, if there is not enough virtually contiguous memory for the whole mempool, it will be populated with several chunks. A chunk of the maximum available length is requested with: mz = rte_memzone_reserv

[dpdk-dev] [PATCH] mempool: fix alignment of memzone length when populating

2018-05-02 Thread Olivier Matz
When populating a mempool with the default function, if there is not enough virtually contiguous memory for the whole mempool, it will be populated with several chunks. A chunk of the maximum available length is requested with: mz = rte_memzone_reserve_aligned(..., len=0, ..., align=x) If align