]> git.droids-corp.org - dpdk.git/commitdiff
eal: remove useless output of undetected lcores
authorDidier Pallard <didier.pallard@6wind.com>
Wed, 30 Apr 2014 14:14:53 +0000 (16:14 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 5 May 2014 16:03:09 +0000 (18:03 +0200)
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 <didier.pallard@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/bsdapp/eal/eal_lcore.c
lib/librte_eal/linuxapp/eal/eal_lcore.c

index e2f3793025ec843d46bc8b5c24c22eb47672f66b..81b5f13c452912da3a752d5edf7e36e68272ea3f 100644 (file)
@@ -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;
                }
index d310d858305f1d3b92a4cd1c9b13388d11e94007..03f4ba3a13dac70beeb43bf488bb37e3ed90a7f4 100644 (file)
@@ -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;
                }