]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/bsdapp/eal/eal_lcore.c
eal: print maximum and detected lcores
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal_lcore.c
index 81b5f13c452912da3a752d5edf7e36e68272ea3f..807bfac4a4bbd549b314f48a94470829f5121ee5 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;
 }