[PATCH 2/2] mempool: turn functions into single-exit ones
Ariel Otilibili
ariel.otilibili at 6wind.com
Mon Jan 20 11:05:07 CET 2025
Hi Konstantin,
On Mon, Jan 20, 2025 at 12:44 AM Konstantin Ananyev <
konstantin.ananyev at huawei.com> wrote:
>
>
> > Some functions did not set rte_errno; for avoiding that, they are turned
> > into single-exit ones.
> >
> > Bugzilla ID: 1559
> > Signed-off-by: Ariel Otilibili <ariel.otilibili at 6wind.com>
>
> But reading through public API comments none of these functions are
> expected to set rte_errno value.
> If rte_mempool_create_empty() forgets to set rte_errno, why it is not
> enough just to add missing one in rte_mempool_create_empty()?
>
Thanks for your feedback. Indeed, only rte_mempool_create_empty() returns
a rte_errno
https://doc.dpdk.org/api/rte__mempool_8h.html#a82e301ee33ed7a263ceb4582655dc3ea
I'll push a new series with this change.
Regards,
Ariel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250120/67cad473/attachment.htm>
More information about the dev
mailing list