Re: [PATCH v2 3/4] eal: implement functions for get/set thread affinity

2022-04-13 Thread Tyler Retzlaff
On Tue, Apr 12, 2022 at 03:43:39AM -0700, Tyler Retzlaff wrote: > diff --git a/lib/eal/windows/eal_lcore.c b/lib/eal/windows/eal_lcore.c > index 476c2d2..4f2224e 100644 > --- a/lib/eal/windows/eal_lcore.c > +++ b/lib/eal/windows/eal_lcore.c ... snip ... > int > eal_create_cpu_map(void) > { >

[PATCH v2 3/4] eal: implement functions for get/set thread affinity

2022-04-12 Thread Tyler Retzlaff
Implement functions for getting/setting thread affinity. Threads can be pinned to specific cores by setting their affinity attribute. note: rte_convert_cpuset_to_affinity has a limitation that all cpus of the set belong to the same processor group. Signed-off-by: Narcisa Vasile Signed-off-by: Ty