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 1E67346021; Thu, 16 Jan 2025 16:17:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D746D40696; Thu, 16 Jan 2025 16:17:35 +0100 (CET) Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) by mails.dpdk.org (Postfix) with ESMTP id 4469740695 for ; Thu, 16 Jan 2025 16:17:35 +0100 (CET) Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 684D625401A3; Thu, 16 Jan 2025 10:17:34 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 16 Jan 2025 10:17:34 -0500 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=fm2; t=1737040654; x=1737127054; bh=L/sMfsU4C5HNPDzeNQX33wIQzGCmavht+GCt8cBZWKE=; b= e6ptJxgA8NZe+JHbjnsFjcXlWiZCmpV9v+u/0j91NlrVJvlpAZJ+nWhYSw+Dt+2b fq3FF1ocuD117Qa2TpVabw4sBC2ftQSmNmURl5PbYL8wOL5tG5wqKO3jyXGTNKqZ BwBDoSI3IfNLO0Ku8XCoyOFpT6ztRscEuxqHm0jND9foCVyB+vnFyz27XcXfm3a7 NenjmMnipSdhS1Qg/RopQhijSjyd/R2jNKKySVPTpd26AACepRVFHip7ku4vbhq+ HL/dFsuA/x4Mu7aBB/nXp+iQT4eFQ/3HeUfcO7uqETPgiBPyieV+V0iSiCBH2of9 JLtG2SUdG0mJEB4Zkiatzg== 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=fm2; t=1737040654; x= 1737127054; bh=L/sMfsU4C5HNPDzeNQX33wIQzGCmavht+GCt8cBZWKE=; b=p Civm2mt1u2nYvKYOo7cS7j/h50sNvSZdJ2RgZq9CARkZ1uDLdNwRl6G8mT+mXI3N 1liBDePCzvEI29f5ky3+a9ACa7BZx4NozEYpwqNNlOtF/BR2HyepfmX8WYIP8eTv huW3Ip9xXPaa0gOTUbm1m4LpNF6SYIb0lratZauXvvdmlIGcz5rCeXCQEccYF9gL oi8DRRdrGeLQKgOOsEuoYIVwAIHGFvZrWF/37y0/qx7vI34BHOOJ6nPberWoMzPi Hcrk0unemQaMpVApgAY1FWvgDx40qj0xniXMKYrAiloot6V54IcGcZQ9HJXkgslq c+uzSD1npWf77aXX89fkQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudeiuddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkjghfggfgtgesthfuredttddtjeen ucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrg hlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeejudevheeiveduuddtveffgfdtgeek ueevjeffjeegtdeggeekgfdvuefgfeekjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtpdhn sggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehlihhhuh hishhonhhgsehhuhgrfigvihdrtghomhdprhgtphhtthhopeguvghvseguphgukhdrohhr ghdprhgtphhtthhopehsthgvphhhvghnsehnvghtfihorhhkphhluhhmsggvrhdrohhrgh dprhgtphhtthhopehlihhuhihonhhglhhonhhgsehhuhgrfigvihdrtghomh X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Jan 2025 10:17:32 -0500 (EST) From: Thomas Monjalon To: Huisong Li Cc: dev@dpdk.org, stephen@networkplumber.org, liuyonglong@huawei.com Subject: Re: [PATCH v2 1/2] ethdev: clarify something about the new event Date: Thu, 16 Jan 2025 16:17:30 +0100 Message-ID: <2023760.8hb0ThOEGa@thomas> In-Reply-To: <20250116114034.9858-2-lihuisong@huawei.com> References: <20250115034110.15245-1-lihuisong@huawei.com> <20250116114034.9858-1-lihuisong@huawei.com> <20250116114034.9858-2-lihuisong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 16/01/2025 12:40, Huisong Li: > If application verify the validity of the port id or configure this port in > the new event callback, application may happen to the port id is invalid. > > In case of similar confusion, this patch have to clarify something about > RTE_ETH_EVENT_NEW in code. > > Signed-off-by: Huisong Li > --- > - RTE_ETH_EVENT_NEW, /**< port is probed */ > + /** The port is being probed, i.e. allocated and not yet available. > + * It is too early to check validity, query infos, and configure > + * the port. > + */ > + RTE_ETH_EVENT_NEW, Acked-by: Thomas Monjalon