[PATCH 0/3] eal: rte_ctrl_thread_create API replacement
Morten Brørup
mb at smartsharesystems.com
Mon Dec 5 21:34:32 CET 2022
> From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
> Sent: Monday, 5 December 2022 21.24
>
> Remove rte_ctrl_thread_create API which exposes pthread_t and provide
> new rte_control_thread_create API based on EALs rte_thread_t.
>
> To limit compatibility regression risk and ease of removal of the
> existing rte_ctrl_thread_create in the future duplicate most of the
> existing implementation. The duplication will be removed when
> rte_ctrl_thread_create is finally duplicated/removed.
>
> The unit test for rte_ctrl_thread_create has been duplicated to
> exercise
> both the old and the new API during transition, as with the API the
> duplicate test will be removed when the rte_ctrl_thread_create API is
> removed.
>
> Tyler Retzlaff (3):
> eal: add rte control thread create API
> test: add rte control thread create API test
> eal: deprecate pthread control thread create API
>
> app/test/test_lcores.c | 44 +++++++++++++++++
> doc/guides/rel_notes/deprecation.rst | 4 ++
> lib/eal/common/eal_common_thread.c | 93
> ++++++++++++++++++++++++++++++++----
> lib/eal/include/rte_thread.h | 29 +++++++++++
> lib/eal/version.map | 3 ++
> 5 files changed, 165 insertions(+), 8 deletions(-)
>
> --
> 1.8.3.1
>
Series-Acked-by: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list