DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] mempool: add rte_errno, and turn functions into single-exit ones
@ 2025-01-19 17:46 Ariel Otilibili
  2025-01-19 17:46 ` [PATCH 1/2] mempool: add rte_errno in rte_mempool_set_ops_byname Ariel Otilibili
  2025-01-19 17:46 ` [PATCH 2/2] mempool: turn functions into single-exit ones Ariel Otilibili
  0 siblings, 2 replies; 4+ messages in thread
From: Ariel Otilibili @ 2025-01-19 17:46 UTC (permalink / raw)
  To: dev
  Cc: stable, Thomas Monjalon, David Marchand, Ariel Otilibili,
	Andrew Rybchenko, Morten Brørup

Hello,

This series is for BugZilla ID 1559.

rte_mempool_set_ops_byname() did not set rte_errno for error exit. As well, other functions did not consistently set the variable.

For avoiding that, they are turned into single-exit functions.

Thank you,

Ariel Otilibili (2):
  mempool: add rte_errno in rte_mempool_set_ops_byname
  mempool: turn functions into single-exit ones

 lib/mempool/rte_mempool_ops.c | 44 ++++++++++++++++++++++++++---------
 1 file changed, 33 insertions(+), 11 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-19 23:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-19 17:46 [PATCH 0/2] mempool: add rte_errno, and turn functions into single-exit ones Ariel Otilibili
2025-01-19 17:46 ` [PATCH 1/2] mempool: add rte_errno in rte_mempool_set_ops_byname Ariel Otilibili
2025-01-19 17:46 ` [PATCH 2/2] mempool: turn functions into single-exit ones Ariel Otilibili
2025-01-19 23:44   ` Konstantin Ananyev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).