| 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 | dev@dpdk.org |
| Reporter | mb@smartsharesystems.com |
| 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.