From: Didier Pallard Date: Wed, 30 Apr 2014 14:14:53 +0000 (+0200) Subject: eal: remove useless output of undetected lcores X-Git-Tag: spdx-start~10856 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2ef79b212a79e87afd16fd75376c1e0d49ca2942;p=dpdk.git eal: remove useless output of undetected lcores Increasing maximum number of lcores gives a huge place to undetected lcores in output traces. Moreover, this output does not give any interesting information, since list of undetected lcores can be deduced from list of detected ones. So remove output related to undetected cores. Signed-off-by: Didier Pallard Acked-by: Thomas Monjalon --- diff --git a/lib/librte_eal/bsdapp/eal/eal_lcore.c b/lib/librte_eal/bsdapp/eal/eal_lcore.c index e2f3793025..81b5f13c45 100644 --- a/lib/librte_eal/bsdapp/eal/eal_lcore.c +++ b/lib/librte_eal/bsdapp/eal/eal_lcore.c @@ -77,7 +77,6 @@ rte_eal_cpu_init(void) lcore_config[lcore_id].detected = (lcore_id < ncpus); if (lcore_config[lcore_id].detected == 0) { - RTE_LOG(DEBUG, EAL, "Skip lcore %u (not detected)\n", lcore_id); config->lcore_role[lcore_id] = ROLE_OFF; continue; } diff --git a/lib/librte_eal/linuxapp/eal/eal_lcore.c b/lib/librte_eal/linuxapp/eal/eal_lcore.c index d310d85830..03f4ba3a13 100644 --- a/lib/librte_eal/linuxapp/eal/eal_lcore.c +++ b/lib/librte_eal/linuxapp/eal/eal_lcore.c @@ -158,7 +158,6 @@ rte_eal_cpu_init(void) for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id++) { lcore_config[lcore_id].detected = cpu_detected(lcore_id); if (lcore_config[lcore_id].detected == 0) { - RTE_LOG(DEBUG, EAL, "Skip lcore %u (not detected)\n", lcore_id); config->lcore_role[lcore_id] = ROLE_OFF; continue; }