eal: reword logs for CPU and NUMA counts
authorThomas Monjalon <thomas@monjalon.net>
Thu, 16 Sep 2021 10:32:09 +0000 (12:32 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 23 Sep 2021 06:55:20 +0000 (08:55 +0200)
Some logs about cores and nodes were using hypotetic plural (s) form.
A fixed plural form with value at the end is preferred.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/eal/common/eal_common_lcore.c

index 66d6bad..5de7570 100644 (file)
@@ -191,9 +191,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(INFO, EAL, "Detected %u lcore(s)\n", config->lcore_count);
+                       "Maximum logical cores by configuration: %u\n",
+                       RTE_MAX_LCORE);
+       RTE_LOG(INFO, EAL, "Detected CPU lcores: %u\n", config->lcore_count);
 
        /* sort all socket id's in ascending order */
        qsort(lcore_to_socket_id, RTE_DIM(lcore_to_socket_id),
@@ -208,7 +208,7 @@ rte_eal_cpu_init(void)
                                        socket_id;
                prev_socket_id = socket_id;
        }
-       RTE_LOG(INFO, EAL, "Detected %u NUMA nodes\n", config->numa_node_count);
+       RTE_LOG(INFO, EAL, "Detected NUMA nodes: %u\n", config->numa_node_count);
 
        return 0;
 }