eal_lcore.c: print the supported maximum lcores as configured, and detected lcores on eal cpu init
PATCH 1/1 eal_lcore.c: print the supported maximum lcores as configured, and detected lcores on eal cpu init
Print the maximum lcore(s) as configured, and the number of lcore(s) detected on eal cpu init as debug info besides the not separate detected/not-detected lcore info.
Signed-off-by Wang Sheng-Hui <[email protected]>
--- lib/librte_eal/linuxapp/eal/eal_lcore.c | 3 +++ 1 file changed, 3 insertions(+)
lib/librte_eal/linuxapp/eal/eal_lcore.c +3 -0
@@ -182,6 +182,9 @@ rte_eal_cpu_init(void) }/* Set the count of enabled logical cores of the EAL configuration */ 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 ; }
Signature · 1 line
1.8.3.2
A message that is not in the archive (sent off-list or not yet received): [email protected]
2014-04-14 13:37, Wang Sheng-Hui:
Quoted 5 lines
Print the maximum lcore(s) as configured, and the number of lcore(s) detected on eal cpu init as debug info besides the not separate detected/not-detected lcore info.
Signed-off-by Wang Sheng-Hui <[email protected]>
Added the BSD part, changed title to
"eal: print maximum and detected lcores"
and applied for version 1.7.0.
Thanks
Signature · 1 line
Thomas