From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (unknown [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 383D5460A1; Fri, 17 Jan 2025 09:43:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 259AF42792; Fri, 17 Jan 2025 09:43:21 +0100 (CET) Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) by mails.dpdk.org (Postfix) with ESMTP id 6932242792 for ; Fri, 17 Jan 2025 09:43:19 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4YZCpr5YDrz1V4vn; Fri, 17 Jan 2025 16:40:04 +0800 (CST) Received: from dggemv704-chm.china.huawei.com (unknown [10.3.19.47]) by mail.maildlp.com (Postfix) with ESMTPS id 23229180043; Fri, 17 Jan 2025 16:43:18 +0800 (CST) Received: from kwepemn100009.china.huawei.com (7.202.194.112) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 17 Jan 2025 16:43:17 +0800 Received: from [10.67.121.59] (10.67.121.59) by kwepemn100009.china.huawei.com (7.202.194.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 17 Jan 2025 16:43:17 +0800 Message-ID: <5b70ef02-8f05-4bde-641d-48af5c6e072f@huawei.com> Date: Fri, 17 Jan 2025 16:43:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v2 2/2] ethdev: fix some functions are available in the new event To: Thomas Monjalon CC: , , References: <20250115034110.15245-1-lihuisong@huawei.com> <20250116114034.9858-1-lihuisong@huawei.com> <20250116114034.9858-3-lihuisong@huawei.com> <1946768.IobQ9Gjlxr@thomas> From: "lihuisong (C)" In-Reply-To: <1946768.IobQ9Gjlxr@thomas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.121.59] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemn100009.china.huawei.com (7.202.194.112) 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 在 2025/1/16 23:18, Thomas Monjalon 写道: > 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 Ack > > > .