[PATCH v2 1/2] mempool: fix rte_errno in rte_mempool_create_empty

fengchengwen fengchengwen at huawei.com
Fri Jan 24 07:47:16 CET 2025


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 2025/1/20 20:21, Ariel Otilibili wrote:
> When returning from rte_mempool_set_ops_byname(), rte_errno is not set
> for error exits.
> 
> The API requires rte_errno to be set in that case.
> 
> Bugzilla ID: 1559
> Fixes: c2c6b2f41305 ("mempool: fix default ops for an empty mempool")
> Link: https://doc.dpdk.org/api/rte__mempool_8h.html#a82e301ee33ed7a263ceb4582655dc3ea
> Signed-off-by: Ariel Otilibili <ariel.otilibili at 6wind.com>




More information about the dev mailing list