eal: print maximum and detected lcores
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal_lcore.c
index 81b5f13..807bfac 100644 (file)
@@ -96,6 +96,9 @@ rte_eal_cpu_init(void)
        }
 
        config->lcore_count = count;
+       RTE_LOG(DEBUG, EAL, "Support maximum %u logical core(s) by configuration.\n",
+               RTE_MAX_LCORE);
+       RTE_LOG(DEBUG, EAL, "Detected %u lcore(s)\n", config->lcore_count);
 
        return 0;
 }