numam-dpdk/drivers
Hemant Agrawal 6ed4390e5e mempool/dpaa2: fix error code for allocation failure
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: 5dc43d22b5 ("mempool/dpaa2: add hardware offloaded mempool")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
2017-07-21 09:27:58 +03:00
..
bus bus/fslmc: remove workaround for smmu mapping 2017-07-19 08:26:08 +03:00
crypto crypto/scheduler: fix multicore reordering 2017-07-19 17:26:48 +03:00
event event/dpaa2: advertise burst mode capability 2017-07-20 07:19:35 +03:00
mempool mempool/dpaa2: fix error code for allocation failure 2017-07-21 09:27:58 +03:00
net net/failsafe: fix build on FreeBSD 10 with GCC 4.8 2017-07-20 18:30:20 +03:00
Makefile drivers: add bus dependency for eventdev 2017-07-07 09:24:29 +02:00