Re: [RFC] eal: make lcore_init aware of cgroup

2024-04-29 Thread Stephen Hemminger
On Mon, 29 Apr 2024 12:52:25 -0700 Stephen Hemminger wrote: > Some lcores maybe restricted from being used by DPDK by cgroups. > This should be detected at startup and only those cpu's allowed > to be used by the process should be marked as enabled. > > This is a lightly tested patch, and parsin

[RFC] eal: make lcore_init aware of cgroup

2024-04-29 Thread Stephen Hemminger
Some lcores maybe restricted from being used by DPDK by cgroups. This should be detected at startup and only those cpu's allowed to be used by the process should be marked as enabled. This is a lightly tested patch, and parsing the cpuset info here probably needs more checking. It is a response to