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 7B7DE46867 for ; Sun, 8 Jun 2025 21:46:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B5E4402EE; Sun, 8 Jun 2025 21:46:28 +0200 (CEST) Received: from fout-b8-smtp.messagingengine.com (fout-b8-smtp.messagingengine.com [202.12.124.151]) by mails.dpdk.org (Postfix) with ESMTP id 2E8CD4026B; Sun, 8 Jun 2025 21:46:26 +0200 (CEST) Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id 4FB85114010E; Sun, 8 Jun 2025 15:46:25 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Sun, 08 Jun 2025 15:46:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1749411985; x=1749498385; bh=zlvhqFvGwyW/vP5LWN5NmVHRfCfbRbooOwhN/9LvZIE=; b= Mya4n7VvU5NjmcGvoZbIvQVnpXkZ4MbgIrTPr6TlGHmcynnjl0Bv0blnIzGqKRSQ afMmZEsHN0R2IHCE6Z//QupJYNe0GUv593dChIOR5l77O0OZdpljb4JLRwlIGERn L7/xgf0NUymD6tLp4Jmx/CUsDwPURW6+Yhv3GhqJY2LTXG/0sU1Kdks/II0Sbi0G eI+eJ/6ZtUTgc96fGvAdZf9V45nHGVJ+YjnIelPCQraeeyhyKqk/e0a6F47Am/n6 CE4EdB2XjASnYznoK345aIoCWT42jjeUbbeA9azzaxX7yKv5c9Xg3e8RNIVJrsVK G2YhtY/WwgYjZgsR4U2JBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1749411985; x= 1749498385; bh=zlvhqFvGwyW/vP5LWN5NmVHRfCfbRbooOwhN/9LvZIE=; b=X 55pfjmDOf0GiXEiiR1q5PQFJSD6FXrDyiUOi1KOMXMPvHOZzj1TcKuhcj3wt6Z95 c96hd8bAuXbp79g5yCR1Si+Fcv1Bj1PQYkavCpie6AWRK9q8FLNR078oSXuCb8vx 82GdGHidKndgdbNY4fh+R9J+Yn+fsnBO5wOfNe00xJwYt4HWGISsVRbbSHaDmBPQ H+j+RIadQFiTfCobmuXSmhpKkgEWakFJ8IZTm3F3YVxT5RBJ3IGqgUqjmqpwGRWA /TG27gyTITFU/WcGrbIzTxm+vU3PC/LCNNU0MVrR6uYT61yvGQvK+Do6vh0YChBP tIat7oJtj6AuGcqr/J8UQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugdekvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkjghfggfgtgesthfuredttddtjeen ucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrg hlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeejudevheeiveduuddtveffgfdtgeek ueevjeffjeegtdeggeekgfdvuefgfeekjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtpdhn sggprhgtphhtthhopeeipdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegurghvih gurdhmrghrtghhrghnugesrhgvughhrghtrdgtohhmpdhrtghpthhtohepuggvvhesughp ughkrdhorhhgpdhrtghpthhtohepsghruhgtvgdrrhhitghhrghrughsohhnsehinhhtvg hlrdgtohhmpdhrtghpthhtohepshhtrggslhgvseguphgukhdrohhrghdprhgtphhtthho pehrohhrvghtiihlrgeslhhinhhugidrmhhitghrohhsohhfthdrtghomhdprhgtphhtth hopegrnhgrthholhihrdgsuhhrrghkohhvsehinhhtvghlrdgtohhm X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 8 Jun 2025 15:46:23 -0400 (EDT) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, bruce.richardson@intel.com, stable@dpdk.org, Tyler Retzlaff , "Burakov, Anatoly" Subject: Re: [PATCH] eal: warn if no lcore is available Date: Sun, 08 Jun 2025 21:46:22 +0200 Message-ID: <5304331.aV6nBDHxoP@thomas> In-Reply-To: References: <20250508051915.226465-2-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 08/05/2025 13:23, Burakov, Anatoly: > On 5/8/2025 7:19 AM, David Marchand wrote: > > On systems with more cpu than RTE_MAX_LCORE, starting DPDK with > > cores >= RTE_MAX_LCORE ends up with an ambiguous error log. > > > > Example with RTE_MAX_LCORE=8: > > $ taskset -c 8 ./build/app/dpdk-testpmd > > EAL: Detected CPU lcores: 8 > > EAL: Detected NUMA nodes: 1 > > EAL: Invalid 'command line' arguments. > > EAL: Error - exiting with code: 1 > > Cannot init EAL: Invalid argument > > > > Add a better hint to help the user. > > > > Fixes: 2eba8d21f3c9 ("eal: restrict cores auto detection") > > Cc: stable@dpdk.org > > > > Signed-off-by: David Marchand > > Acked-by: Anatoly Burakov Applied, thanks.