From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D4846A0C41; Thu, 16 Sep 2021 12:32:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BD07E4069E; Thu, 16 Sep 2021 12:32:15 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id D30DD4003F for ; Thu, 16 Sep 2021 12:32:14 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 802C75C01D2; Thu, 16 Sep 2021 06:32:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 16 Sep 2021 06:32:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=V26qKH40/1L4Z q6Ic6v5COUF7R2xueCNJYPyTTrQgho=; b=A0owKcLb/24jONR9OdCHy8wmNtlUf Pgal/xG0wm4O+tKtmDWSJ7phX1QjL5x+LrNxQpmF200sF5fpKXqT/fn5SnKkLxC5 zOHGwl74S0Idz6nwtT7pxoBqbGtEYD+H8u2/msEAnozwiNwClj6oBuT17bn1ZD9i u6UlVXnP326JJNLq2kUmvT27ORXA5ktlHXMllBCed40q1K9eGlX9QM55grJ2t7/E 8giEroHiEL7IgyUKHJMt5Mbk9e7Oqgkh3kJb49W7B+cKmfj5UXQuYawKznzEh8Yn PgoyLSItq7vzswkCuGPmjrlvBc4j+FfPa9PcmBN/Qa8PCiBBG0dp2RdTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=V26qKH40/1L4Zq6Ic6v5COUF7R2xueCNJYPyTTrQgho=; b=Q0RDS+nd Lb+umKj8lFqhSHIui8VBLy4uAU7SuPu0c1zFVEKg/2CBAerLJo6KyUz9CZFya6Vn Llaj7cCopZjAJQxEKgIU+icT9D3mZvZe4PRQYjaOGSDhoxaFlpcKtW11wEv9nxc6 QDBCflq9l07+yaJCHKxp6Pd/faSlX+qeMxwsa5GFEaURaoOXqkBgcer9p4UNwcMj Whh0qt7KgiMy82Y+zDdKOhUI5eoaYjssmarvOsQkbY0BLwc4dUzTkGXBihdwt9N0 K6H1+Ve5KDUhaVZ6qJjw/w8noI4gTNTgi8K1oXTuTE6YRkTPQsn8kxxfvISn6LiO K5runWDU6p0sWQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudehgedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvhefgiedvjeegtdevhe efhfetleefgfeivefgffevfeejgedtgfeutdehtdegveenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrd hnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Sep 2021 06:32:13 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com, ferruh.yigit@intel.com, bruce.richardson@intel.com Date: Thu, 16 Sep 2021 12:32:09 +0200 Message-Id: <20210916103209.3710442-1-thomas@monjalon.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210915143232.2994872-1-thomas@monjalon.net> References: <20210915143232.2994872-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2] eal: reword logs for CPU and NUMA counts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- v2: keep plural form as suggested by Bruce --- lib/eal/common/eal_common_lcore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/eal/common/eal_common_lcore.c b/lib/eal/common/eal_common_lcore.c index 66d6bad1a7..b38bb46d44 100644 --- a/lib/eal/common/eal_common_lcore.c +++ b/lib/eal/common/eal_common_lcore.c @@ -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; } -- 2.33.0