Re: [dpdk-dev] [PATCH] examples/vm_power: fix app to respect max cpus

2018-11-04 Thread Thomas Monjalon
31/10/2018 12:50, David Hunt: > The vm_power_manager app was not respecting the POWER_MGR_MAX_CPUS > during initialisation, so if there were more CPUs than this value (64), > it would lead to buffer overruns of there were more then 64 cores in > the system. > > Added in a check during init and un-

[dpdk-dev] [PATCH] examples/vm_power: fix app to respect max cpus

2018-10-31 Thread David Hunt
The vm_power_manager app was not respecting the POWER_MGR_MAX_CPUS during initialisation, so if there were more CPUs than this value (64), it would lead to buffer overruns of there were more then 64 cores in the system. Added in a check during init and un-init to only initialise up to lcore_id 63.