Re: [dpdk-dev] [PATCH 3/5] mempool: remove optimistic IOVA-contiguous allocation

2019-10-30 Thread Olivier Matz
On Wed, Oct 30, 2019 at 10:44:04AM +0300, Andrew Rybchenko wrote: > On 10/30/19 10:36 AM, Andrew Rybchenko wrote: > > On 10/29/19 8:20 PM, Olivier Matz wrote: > > > On Tue, Oct 29, 2019 at 01:25:10PM +0300, Andrew Rybchenko wrote: > > > > On 10/28/19 5:01 PM, Olivier Matz wrote: > > > > > The previ

Re: [dpdk-dev] [PATCH 3/5] mempool: remove optimistic IOVA-contiguous allocation

2019-10-30 Thread Andrew Rybchenko
On 10/30/19 10:36 AM, Andrew Rybchenko wrote: On 10/29/19 8:20 PM, Olivier Matz wrote: On Tue, Oct 29, 2019 at 01:25:10PM +0300, Andrew Rybchenko wrote: On 10/28/19 5:01 PM, Olivier Matz wrote: The previous commit reduced the amount of required memory when populating the mempool with non iova-

Re: [dpdk-dev] [PATCH 3/5] mempool: remove optimistic IOVA-contiguous allocation

2019-10-30 Thread Andrew Rybchenko
On 10/29/19 8:20 PM, Olivier Matz wrote: On Tue, Oct 29, 2019 at 01:25:10PM +0300, Andrew Rybchenko wrote: On 10/28/19 5:01 PM, Olivier Matz wrote: The previous commit reduced the amount of required memory when populating the mempool with non iova-contiguous memory. Since there is no big advan

Re: [dpdk-dev] [PATCH 3/5] mempool: remove optimistic IOVA-contiguous allocation

2019-10-29 Thread Olivier Matz
On Tue, Oct 29, 2019 at 01:25:10PM +0300, Andrew Rybchenko wrote: > On 10/28/19 5:01 PM, Olivier Matz wrote: > > The previous commit reduced the amount of required memory when > > populating the mempool with non iova-contiguous memory. > > > > Since there is no big advantage to have a fully iova-c

Re: [dpdk-dev] [PATCH 3/5] mempool: remove optimistic IOVA-contiguous allocation

2019-10-29 Thread Andrew Rybchenko
On 10/28/19 5:01 PM, Olivier Matz wrote: The previous commit reduced the amount of required memory when populating the mempool with non iova-contiguous memory. Since there is no big advantage to have a fully iova-contiguous mempool if it is not explicitly asked, remove this code, it simplifies t

[dpdk-dev] [PATCH 3/5] mempool: remove optimistic IOVA-contiguous allocation

2019-10-28 Thread Olivier Matz
The previous commit reduced the amount of required memory when populating the mempool with non iova-contiguous memory. Since there is no big advantage to have a fully iova-contiguous mempool if it is not explicitly asked, remove this code, it simplifies the populate function. Signed-off-by: Olivi