Re: [dpdk-dev] [PATCH v2 01/10] eal: add thread id and simple thread functions

2021-03-23 Thread Tyler Retzlaff
On Mon, Mar 22, 2021 at 07:54:19PM -0700, Stephen Hemminger wrote: > On Mon, 22 Mar 2021 17:20:26 -0700 > Narcisa Ana Maria Vasile wrote: > > > @@ -59,7 +92,7 @@ void rte_thread_get_affinity(rte_cpuset_t *cpusetp); > > * > > * @return > > * On success, zero. > > - * On failure, a negati

Re: [dpdk-dev] [PATCH v2 01/10] eal: add thread id and simple thread functions

2021-03-22 Thread Stephen Hemminger
On Mon, 22 Mar 2021 17:20:26 -0700 Narcisa Ana Maria Vasile wrote: > @@ -59,7 +92,7 @@ void rte_thread_get_affinity(rte_cpuset_t *cpusetp); > * > * @return > * On success, zero. > - * On failure, a negative number. > + * On failure, return a positive errno-style error number. > */

[dpdk-dev] [PATCH v2 01/10] eal: add thread id and simple thread functions

2021-03-22 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile Add the thread identifier type. Add functions for comparing thread ids and obtaining the thread id for the current thread. Signed-off-by: Narcisa Vasile --- lib/librte_eal/common/rte_thread.c| 101 ++ lib/librte_eal/include/rte_thread.h