Re: [PATCH v5 1/6] eal: add thread attributes

2022-10-06 Thread David Marchand
On Wed, Oct 5, 2022 at 7:07 PM Tyler Retzlaff wrote: > @@ -57,7 +65,105 @@ enum rte_thread_priority { > __rte_experimental > rte_thread_t rte_thread_self(void); > > -#ifdef RTE_HAS_CPUSET > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice. > + * > + * Check if

[PATCH v5 1/6] eal: add thread attributes

2022-10-05 Thread Tyler Retzlaff
Implement thread attributes for: * thread affinity * thread priority Implement functions for managing thread attributes. Priority is represented through an enum that allows for two levels: * RTE_THREAD_PRIORITY_NORMAL * RTE_THREAD_PRIORITY_REALTIME_CRITICAL Affinity is desc