From: Olivier Matz Date: Mon, 4 May 2020 12:49:18 +0000 (+0200) Subject: mempool: return 0 if area is too small on populate X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c0280d5d8ac047b9f56d21d17e2fd0961891072a;hp=c0280d5d8ac047b9f56d21d17e2fd0961891072a;p=dpdk.git 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 Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko Acked-by: Lukasz Wojciechowski ---