[PATCH 07/11] drivers: convert to internal control threads
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Mon Sep 11 15:35:00 CEST 2023
On 9/6/23 19:12, Thomas Monjalon wrote:
> Calls to rte_ctrl_thread_create() are replaced with
> rte_thread_create_internal_control().
> Other pthread-related functions are replaced with the rte_thread API.
> Only pthread_cancel() has no replacement.
>
> The mlx5 vDPA control threads were real-time threads
> with an affinity on the core specified by the devarg "event_core".
> As there is no heavy performance requirement,
> these threads are converted into real control threads.
>
> Some threads in dlb2 and mlx5 are not control threads
> because they are designed to run on some specific cores.
> It would be interesting to rework them in future.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
For net/sfc
Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
More information about the dev
mailing list