Re: [dpdk-dev] [PATCH v5] mempool: return 0 if area is too small on populate

2020-05-04 Thread Thomas Monjalon
04/05/2020 17:47, Lukasz Wojciechowski: > W dniu 04.05.2020 o 14:54, Andrew Rybchenko pisze: > > On 5/4/20 3:49 PM, Olivier Matz wrote: > >> Change rte_mempool_populate_iova() and rte_mempool_populate_virt() to > >> return 0 instead of -EINVAL when there is not enough room to store one > >> object,

Re: [dpdk-dev] [PATCH v5] mempool: return 0 if area is too small on populate

2020-05-04 Thread Lukasz Wojciechowski
W dniu 04.05.2020 o 14:54, Andrew Rybchenko pisze: > On 5/4/20 3:49 PM, Olivier Matz wrote: >> Change rte_mempool_populate_iova() and rte_mempool_populate_virt() to >> return 0 instead of -EINVAL when there is not enough room to store one >> object, as it can be helpful for applications to distin

Re: [dpdk-dev] [PATCH v5] mempool: return 0 if area is too small on populate

2020-05-04 Thread Andrew Rybchenko
On 5/4/20 3:49 PM, Olivier Matz wrote: > Change rte_mempool_populate_iova() and rte_mempool_populate_virt() to > return 0 instead of -EINVAL when there is not enough room to store one > object, as it can be helpful for applications to distinguish this > specific case. > > As this is an ABI change,