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

2017-07-18 Thread Shreyansh Jain
On Thursday 22 June 2017 06:18 PM, 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. Fixes: 5dc43d22b5ad ("mem

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

2017-07-10 Thread Olivier Matz
On Thu, 22 Jun 2017 18:18:07 +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. > > Fixes: 5dc43

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

2017-06-22 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