[dpdk-dev] [PATCH] eal/common: Fix enabled core number with core list argument

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jan 27 12:45:49 CET 2015


> When using core list argument to define which core to enable (ie -l) the
> core_num field of the rte configuration is not updated the same way as using
> coremask. This causes rte_lcore_num() to yield different value from the one
> using coremask.
> 
> Signed-off-by: Remi Pommarel <repk at triplefau.lt>

Good catch, it was forgotten when adding this option.

Fixes: d888cb8b9613 ("add core list input format")
Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied

Thanks
-- 
Thomas


More information about the dev mailing list