Re: [dpdk-dev] [PATCH 1/2] mempool/dpaa2: fix the return value for alloc fail

2017-06-08 Thread Olivier Matz
Hi Hemant, On Tue, 23 May 2017 15:03:47 +0530, Hemant Agrawal wrote: > In case the alloc api is not able to allocate the required > number of buffer, it can return '0', which will not indicate > the failure to the calling function. > This patch fix the return value to indicate the failure. > >

[dpdk-dev] [PATCH 1/2] mempool/dpaa2: fix the return value for alloc fail

2017-05-23 Thread Hemant Agrawal
In case the alloc api is not able to allocate the required number of buffer, it can return '0', which will not indicate the failure to the calling function. This patch fix the return value to indicate the failure. Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool") CC: sta...@dpd