[PATCH] eal: prefix lcore role values
David Marchand
david.marchand at redhat.com
Mon Oct 12 16:30:51 CEST 2026
On Mon, 12 Oct 2026 at 16:11, Thomas Monjalon <thomas at monjalon.net> wrote:
>
> From: Huisong Li <lihuisong at huawei.com>
>
> Add the RTE_LCORE_ prefix to the lcore role enum values in
> rte_lcore_role_t to follow DPDK naming conventions.
>
> - ROLE_RTE -> RTE_LCORE_ROLE_RTE
> - ROLE_OFF -> RTE_LCORE_ROLE_OFF
> - ROLE_SERVICE -> RTE_LCORE_ROLE_SERVICE
> - ROLE_NON_EAL -> RTE_LCORE_ROLE_NON_EAL
>
> Old names are kept as macros aliasing to the new names to preserve
> backward compatibility.
>
> Suggested-by: Thomas Monjalon <thomas at monjalon.net>
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
> ---
> This patch has been reverted in June because our CI was not ready.
> Applying it in 26.11 will be easier because there is no ABI check.
Yes, lgtm for this release.
--
David Marchand
More information about the dev
mailing list