Thanks, I'll update.


From: David Marchand <david.marchand@redhat.com>
Sent: Monday, December 9, 2024 3:00 PM
To: Xueming Li <xuemingl@nvidia.com>
Cc: Luca Boccassi <bluca@debian.org>; Stephen Hemminger <stephen@networkplumber.org>; Chengwen Feng <fengchengwen@huawei.com>; dpdk stable <stable@dpdk.org>
Subject: Re: patch 'eal/unix: optimize thread creation' has been queued to stable release 23.11.3
 
Hello Xueming,

On Sat, Dec 7, 2024 at 9:02 AM Xueming Li <xuemingl@nvidia.com> wrote:
> @@ -176,6 +192,14 @@ rte_thread_create(rte_thread_t *thread_id,
>                 }
>         }
>
> +#ifdef RTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP
> +       ret = pthread_create((pthread_t *)&thread_id->opaque_id, attrp,
> +               (void *)(void *)thread_func, args);
> +       if (ret != 0) {
> +               RTE_LOG(DEBUG, EAL, "pthread_create failed");

A \n is missing here.

> +               goto cleanup;
> +       }
> +#else /* !RTE_EAL_PTHREAD_ATTR_SETAFFINITY_NP */
>         ret = pthread_create((pthread_t *)&thread_id->opaque_id, attrp,
>                 thread_start_wrapper, &ctx);
>         if (ret != 0) {


--
David Marchand