[DPDK/core Bug 1559] rte_pktmbuf_pool_create doesn't set the correct rte_errno
bugzilla at dpdk.org
bugzilla at dpdk.org
Sun Oct 6 09:29:28 CEST 2024
https://bugs.dpdk.org/show_bug.cgi?id=1559
Bug ID: 1559
Summary: rte_pktmbuf_pool_create doesn't set the correct
rte_errno
Product: DPDK
Version: 24.03
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: dev at dpdk.org
Reporter: g199209 at gmail.com
Target Milestone: ---
rte_pktmbuf_pool_create --> rte_pktmbuf_pool_create_by_ops -->
rte_mempool_create_empty. In rte_mempool_create_empty, there's such logic: ret
= rte_mempool_set_ops_byname(mp, "xxx", NULL); rte_mempool_set_ops_byname
doesn't set rte_errno, but use return code to indicate errno. So
rte_mempool_create_empty should set rte_errno according to ret, but it forget
to do it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20241006/06590f2b/attachment.htm>
More information about the dev
mailing list