[dpdk-stable] [PATCH v3] eal/windows: ensure all enabled CPUs are counted

Thomas Monjalon thomas at monjalon.net
Mon Oct 11 20:48:46 CEST 2021


18/08/2021 15:46, Narcisa Ana Maria Vasile:
> From: Narcisa Vasile <navasile at microsoft.com>
> 
> On Windows, -l/--lcores EAL option was unable to process CPU sets
> containing CPUs other than 0 and 1, because CPU_COUNT() macro
> only checked these CPUs in the set. Fix CPU_COUNT() by enumerating
> all possible CPU indices.
> 
> Fixes: e8428a9d89f1 ("eal/windows: add some basic functions and macros")
> Cc: pallavi.kadam at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Narcisa Vasile <navasile at microsoft.com>
> Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> Acked-by: Pallavi Kadam <pallavi.kadam at intel.com>

Applied, thanks.
Sorry for the delay.




More information about the stable mailing list