examples/ip_pipeline: support more than 32 CPUs
At the moment ip_pipeline example uses 32 during the initialization, which leads to an error on systems with more than 32 CPUs. Signed-off-by: Andriy Berestovskyy <andriy.berestovskyy@caviumnetworks.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
This commit is contained in:
parent
d5faec799c
commit
b58c9c3677
@ -69,7 +69,8 @@ static void
|
||||
app_init_core_map(struct app_params *app)
|
||||
{
|
||||
APP_LOG(app, HIGH, "Initializing CPU core map ...");
|
||||
app->core_map = cpu_core_map_init(4, 32, 4, 0);
|
||||
app->core_map = cpu_core_map_init(RTE_MAX_NUMA_NODES, RTE_MAX_LCORE,
|
||||
4, 0);
|
||||
|
||||
if (app->core_map == NULL)
|
||||
rte_panic("Cannot create CPU core map\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user