mbox series

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

Message ID 20250120122156.2480524-1-ariel.otilibili@6wind.com (mailing list archive)
Headers
Series add rte_errno to rte_mempool_create_empty, and refactor |

Message

Ariel Otilibili Jan. 20, 2025, 12:21 p.m. UTC
From: Ariel Otilibili <ariel.otilibili@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(-)