Re: [dpdk-dev] [PATCH v5 02/10] eal: add thread attributes

2021-03-30 Thread Stephen Hemminger
On Mon, 29 Mar 2021 15:40:32 -0700 Narcisa Ana Maria Vasile wrote: > + > +int > +rte_thread_attr_set_priority(rte_thread_attr_t *thread_attr, > + enum rte_thread_priority priority) > +{ > + if (thread_attr == NULL) { > + RTE_LOG(DEBUG, EAL, > +

[dpdk-dev] [PATCH v5 02/10] eal: add thread attributes

2021-03-29 Thread Narcisa Ana Maria Vasile
From: Narcisa Vasile Implement thread attributes for: * thread affinity * thread priority Implement functions for managing thread attributes. Signed-off-by: Narcisa Vasile --- lib/librte_eal/common/rte_thread.c| 53 lib/librte_eal/include/rte_thread.h | 82 +