2021-06-04 16:44 (UTC-0700), Narcisa Ana Maria Vasile: > From: Narcisa Vasile <navas...@microsoft.com> > > 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 described by the already known rte_cpuset_t type.
Is it my client or "rte_cpuset_t" is surrounded by U+0093 (STS) and U+0094 (CCH)? [...] > diff --git a/lib/eal/include/rte_thread_types.h > b/lib/eal/include/rte_thread_types.h > index d67b24a563..996232c636 100644 > --- a/lib/eal/include/rte_thread_types.h > +++ b/lib/eal/include/rte_thread_types.h > @@ -7,4 +7,7 @@ > > #include <pthread.h> > > +#define EAL_THREAD_PRIORITY_NORMAL 0 > +#define EAL_THREAD_PRIORITY_REALTIME_CIRTICAL 99 > + > #endif /* _RTE_THREAD_TYPES_H_ */ > diff --git a/lib/eal/windows/include/rte_windows_thread_types.h > b/lib/eal/windows/include/rte_windows_thread_types.h > index 60e6d94553..5bdeaad3d4 100644 > --- a/lib/eal/windows/include/rte_windows_thread_types.h > +++ b/lib/eal/windows/include/rte_windows_thread_types.h > @@ -7,4 +7,7 @@ > > #include <rte_windows.h> > > +#define EAL_THREAD_PRIORITY_NORMAL THREAD_PRIORITY_NORMAL > +#define EAL_THREAD_PRIORITY_REALTIME_CIRTICAL THREAD_PRIORITY_TIME_CRITICAL > + > #endif /* _RTE_THREAD_TYPES_H_ */ These constants are not used until patch 05/10 that removes them. Am I missing something? [...]