[PATCH v1 0/5] prefix lcore role enum values
Thomas Monjalon
thomas at monjalon.net
Thu Jun 18 18:19:37 CEST 2026
17/06/2026 13:48, Morten Brørup:
> > From: Huisong Li [mailto:lihuisong at huawei.com]
> > Sent: Wednesday, 17 June 2026 12.28
> >
> > 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.
> >
>
> Series-Acked-by: Morten Brørup <mb at smartsharesystems.com>
Squashed and applied, thanks.
I have a doubt about RTE_LCORE_ROLE_RTE: could we find a better name?
Also we should probably add some comments to explain each role.
More information about the dev
mailing list