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

2020-04-27 Thread Lukasz Wojciechowski
W dniu 27.04.2020 o 13:44, Ray Kinsella pisze: > > On 25/04/2020 23:23, Thomas Monjalon wrote: >> From: Olivier Matz >> >> Change rte_mempool_populate_iova() and rte_mempool_populate_iova() to ... and rte_mempool_populate_virt() >> return 0 instead of -EINVAL when there is not enough room to sto

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

2020-04-27 Thread Ray Kinsella
On 25/04/2020 23:23, Thomas Monjalon wrote: > From: Olivier Matz > > Change rte_mempool_populate_iova() and rte_mempool_populate_iova() 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 cas

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

2020-04-25 Thread Thomas Monjalon
From: Olivier Matz Change rte_mempool_populate_iova() and rte_mempool_populate_iova() 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, use symbol versioning to pres