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 3FE7546021; Thu, 16 Jan 2025 16:18:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2696A40696; Thu, 16 Jan 2025 16:18:39 +0100 (CET) Received: from fout-b8-smtp.messagingengine.com (fout-b8-smtp.messagingengine.com [202.12.124.151]) by mails.dpdk.org (Postfix) with ESMTP id A6C1840695 for ; Thu, 16 Jan 2025 16:18:37 +0100 (CET) Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 09EB1114016F; Thu, 16 Jan 2025 10:18:37 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 16 Jan 2025 10:18:37 -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=1737040716; x=1737127116; bh=H/dCxx0FRAVwDJigj585tNrtDuA1tizbcieTiKCMuMI=; b= gksNpmmEGla6avH0ZuTYFZz/Y0ry2AmNRSHUoVZTPofHyb7Fn15kmBWddQHSotb1 Ei8hH3pLldtjktfVFgmCEwSUqj4fd7jzWpaNe4PijXAGCMDZ3QVOP/6Lg3UY9SkO 8XRbhsowDjjWIwxO8tYnWh1syiD8sYtZ+s+WugB7+OH8tQuVeBLnUapN6bF5Eg46 5DqRlGjkkmyOPuiSimpCT4T0ioeFrbdQ+53bgu24S1vek20y10oLM3LoYpWmqMzR j+4zqIEyCq/ApEH46oM+XNeOILsgt+HN3JEiCBUAhmEyb+YQT/BWFuwfcjvYCPJA fQmKZmAPTOec0xsL8s5nFA== 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=1737040716; x= 1737127116; bh=H/dCxx0FRAVwDJigj585tNrtDuA1tizbcieTiKCMuMI=; b=f YYpas+okcQYznIorYNyGElcL34qKmWLvbFZwqImET2fewzMDKzyVMneNZxn1PHun 0SYIph8QjRPV9w7vmX84MDcPFqCH/Vh4oZ6UwAAyrs51umzCqrHuwK+F3CdHUIva UV5cZk7NA58IseRzs12gx8C+AH3khK9h9nLjglRPTr1lq598NzplSh9kwMSzdE3y j0lO5j92x3m1B9N/JbUnQrYaoP+8ZN+jxsN3I56fGKAp3C9McBMl0FxqRbQS1y5y EdQNR5JU1/nPEg09e+halny9EKgOqWBoGKjaABfG9gA1gJbYMyzvCVHMlxT9uYA/ 0SLycd+PUF65cvccut7cQ== 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:18:35 -0500 (EST) From: Thomas Monjalon To: Huisong Li Cc: dev@dpdk.org, stephen@networkplumber.org, liuyonglong@huawei.com Subject: Re: [PATCH v2 2/2] ethdev: fix some functions are available in the new event Date: Thu, 16 Jan 2025 16:18:34 +0100 Message-ID: <1946768.IobQ9Gjlxr@thomas> In-Reply-To: <20250116114034.9858-3-lihuisong@huawei.com> References: <20250115034110.15245-1-lihuisong@huawei.com> <20250116114034.9858-1-lihuisong@huawei.com> <20250116114034.9858-3-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: > During probing, before the port becomes generally available, the > rte_eth_dev_socket_id() and rte_eth_dev_owner_*() are available to > application. > > Fixes: 7dcd73e37965 ("drivers/bus: set device NUMA node to unknown by default") > Fixes: 53ef1b34776b ("ethdev: add sanity checks in control APIs") > Cc: stable@dpdk.org > > Signed-off-by: Huisong Li [...] > /** 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. > + * the port. But some functions, like rte_eth_dev_socket_id() and > + * rte_eth_dev_owner_*() are available to application. I would add "the" before "application". With this minor change, Acked-by: Thomas Monjalon