DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/core Bug 1559] rte_pktmbuf_pool_create doesn't set the correct rte_errno
@ 2024-10-06  7:29 bugzilla
  2025-03-26 14:08 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2024-10-06  7:29 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

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@dpdk.org
          Reporter: g199209@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.

[-- Attachment #2: Type: text/html, Size: 2823 bytes --]

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

* [DPDK/core Bug 1559] rte_pktmbuf_pool_create doesn't set the correct rte_errno
  2024-10-06  7:29 [DPDK/core Bug 1559] rte_pktmbuf_pool_create doesn't set the correct rte_errno bugzilla
@ 2025-03-26 14:08 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2025-03-26 14:08 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1559

Thomas Monjalon (thomas@monjalon.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Thomas Monjalon (thomas@monjalon.net) ---
Resolved in http://git.dpdk.org/dpdk/commit/?id=a81d8ceff4

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2640 bytes --]

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

end of thread, other threads:[~2025-03-26 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-06  7:29 [DPDK/core Bug 1559] rte_pktmbuf_pool_create doesn't set the correct rte_errno bugzilla
2025-03-26 14:08 ` bugzilla

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).