Re: [dpdk-dev] [PATCH] mempool: fix virt address mempool population

2018-05-15 Thread Thomas Monjalon
15/05/2018 13:28, Olivier Matz: > On Tue, May 15, 2018 at 08:58:06AM +0100, Burakov, Anatoly wrote: > > On 14-May-18 7:48 PM, Thomas Monjalon wrote: > > > 14/05/2018 18:06, Anatoly Burakov: > > > > Currently, populate_virt will check if mempool is already populated. > > > > This will cause inabilit

Re: [dpdk-dev] [PATCH] mempool: fix virt address mempool population

2018-05-15 Thread Andrew Rybchenko
On 05/14/2018 07:06 PM, Anatoly Burakov wrote: Currently, populate_virt will check if mempool is already populated. This will cause inability to reserve multi-chunk mempools if contiguous memory is not a hard requirement, because if allocating all-contiguous memory fails, mempool will retry with

Re: [dpdk-dev] [PATCH] mempool: fix virt address mempool population

2018-05-15 Thread Olivier Matz
On Tue, May 15, 2018 at 08:58:06AM +0100, Burakov, Anatoly wrote: > On 14-May-18 7:48 PM, Thomas Monjalon wrote: > > 14/05/2018 18:06, Anatoly Burakov: > > > Currently, populate_virt will check if mempool is already populated. > > > This will cause inability to reserve multi-chunk mempools if > > >

Re: [dpdk-dev] [PATCH] mempool: fix virt address mempool population

2018-05-15 Thread Burakov, Anatoly
On 14-May-18 7:48 PM, Thomas Monjalon wrote: 14/05/2018 18:06, Anatoly Burakov: Currently, populate_virt will check if mempool is already populated. This will cause inability to reserve multi-chunk mempools if contiguous memory is not a hard requirement, because if allocating all-contiguous memo

Re: [dpdk-dev] [PATCH] mempool: fix virt address mempool population

2018-05-14 Thread Thomas Monjalon
14/05/2018 18:06, Anatoly Burakov: > Currently, populate_virt will check if mempool is already populated. > This will cause inability to reserve multi-chunk mempools if > contiguous memory is not a hard requirement, because if allocating > all-contiguous memory fails, mempool will retry with virtua

[dpdk-dev] [PATCH] mempool: fix virt address mempool population

2018-05-14 Thread Anatoly Burakov
Currently, populate_virt will check if mempool is already populated. This will cause inability to reserve multi-chunk mempools if contiguous memory is not a hard requirement, because if allocating all-contiguous memory fails, mempool will retry with virtual addresses and will call populate_virt. It