[PATCH v2 0/2] add rte_errno to rte_mempool_create_empty, and refactor

Ariel Otilibili ariel.otilibili at 6wind.com
Mon Jan 20 13:21:54 CET 2025


From: Ariel Otilibili <ariel.otilibili at 6wind.com

Hello,

This series is for BugZilla ID 1559. After calling rte_mempool_set_ops_byname(), rte_mempool_create_empty() does not set rte_errno. The API expects rte_errno to bet set in that case.

Thank you,
---
v2
* reworded cover letter and commit messages
* addressed feedback from Konstantin Ananyev
v1 (https://inbox.dpdk.org/dev/20250119174643.2162110-1-ariel.otilibili@6wind.com/)

Ariel Otilibili (2):
  mempool: fix rte_errno in rte_mempool_create_empty
  mempool: make rte_mempool_create_empty a single-exit

 lib/mempool/rte_mempool.c | 31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

-- 
2.30.2



More information about the dev mailing list