numam-dpdk/lib/librte_mempool
Olivier Matz c0280d5d8a mempool: return 0 if area is too small on populate
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, use symbol versioning to preserve old
behavior for binary applications.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
2020-05-05 00:27:05 +02:00
..
Makefile mempool: add tracepoints 2020-04-23 15:40:11 +02:00
mempool_trace_points.c mempool: add tracepoints 2020-04-23 15:40:11 +02:00
meson.build mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00
rte_mempool_ops_default.c mempool: use specific macro for object alignment 2019-11-06 11:34:19 +01:00
rte_mempool_ops.c mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_trace_fp.h mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_trace.h mempool: add tracepoints 2020-04-23 15:40:11 +02:00
rte_mempool_version.map mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00
rte_mempool.c mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00
rte_mempool.h mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00