Skip to contentSkip to conversation

rte_eal_init can fail without setting rte_errno

DPDK/core Bug 2156 [email protected] 1 participant 1 message Nov 23

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 2156
           Summary: rte_eal_init can fail without setting rte_errno
           Product: DPDK
           Version: 25.11
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

In some circumstances, rte_eal_init (lib/eal/linux/eal.c) can fail and return -1 but without setting rte_errno (as is promised in the function doc in rte_eal.h).

In my case, rte_eal_init bailed out from rte_config_init when I tried to start two instances of my application.

This is in 25.11, but the behaviour looks to be the same in the latest git.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.