From: Andriy Berestovskyy Date: Fri, 31 Mar 2017 13:36:32 +0000 (+0200) Subject: examples/ip_pipeline: support more than 32 CPUs X-Git-Tag: spdx-start~3425 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b58c9c3677718164e98dd2536add5f06f44134e9;p=dpdk.git 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 Acked-by: Cristian Dumitrescu --- diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c index c7f9470e90..1dc2a04220 100644 --- a/examples/ip_pipeline/init.c +++ b/examples/ip_pipeline/init.c @@ -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");