Skip to contentSkip to conversation

rte_lcore API treats Service cores and Registered Non-EAL threads as disabled

DPDK/core Bug 1524 [email protected] 1 participant 1 message Aug 20, 2024

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 1524
Summary: rte_lcore API treats Service cores and Registered
Non-EAL threads as disabled
Product: DPDK
Version: 24.07
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

rte_lcore_is_enabled() only considers EAL threads (ROLE_RTE) as enabled. And thus, rte_get_next_lcore() and RTE_LCORE_FOREACH() only traverse EAL threads.

These should be updated to include Service cores (ROLE_SERVICE) and Registered Non-EAL threads.
Alternatively, the documentation - and the names of the functions/macros - should be updated to reflect their behavior.

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