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

2015-01-27 Thread Thomas Monjalon
> 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 Good catch, i

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

2015-01-20 Thread Remi Pommarel
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 --- lib/librte_eal/common