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 41579A0562; Tue, 4 May 2021 14:19:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD38940147; Tue, 4 May 2021 14:19:39 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 8DF8640141 for ; Tue, 4 May 2021 14:19:37 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5AE921603; Tue, 4 May 2021 08:19:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 04 May 2021 08:19:36 -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:content-type; s=fm1; bh= 3pZ81lp87EjMx1zdLBYOYyZ0CTYi1h9j+m9dUeomtN0=; b=qMPuGMyGKCbduj9x 4JCL8K1mhfHjGu7AwbU5TDbTqhlvuyg4KUiLK7LS+7LS21QM1itgk6eGB1SKNlnG j9rnVgUlCgy8gpZSSgliirDtt9f2Up6u5XKl6AL56b6PPD89dCkrR2XExHmz1NAs t5uMwzcQitEWs8NBFCM6po+5IoA2F++1bwbXcishSNRCX3pfsYCAl6orYI68njXo NSH845gceaiErQhDtacp+Ja+dJP7ldUpazToaBiZf6aeFZX0W43XDi7rFi0hDDOV hCEL5kO+DRNcT54d5G/HmYGGLhXlHTkd3Zw/zaOL1w4P1KbxuBrRglVZa5tR3oOz aYL/MQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :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=fm2; bh=3pZ81lp87EjMx1zdLBYOYyZ0CTYi1h9j+m9dUeomt N0=; b=IAYQGs82nC33d2gxzIhbJ8fPnqG6q3RZOQifoaGXw7aFVJQ77gM1FdkJj vmdRmAZuJPH3kT8M/xJFg23EpMIji4Qmd4IAnMWaJJSuJdPmB/x7lxPesK5lsann GsFGVnz2kRPMaUkXw5kPzDDfIC/zUp7BWT3C6t4Ku2ygZLIw7G3troMtfNcGQ2uc FbOjKE+uRani3TbmoCuaICzHujeSUKquCRT1e74CqrHL/JyvF0ELVj4vRaRKZsvX PuKWzdxOlJHQje0u3VTXU5LHdqWcST7s23yTABaYzQ637xF12p/N5Dadc4Q/KqEy SKmxMAkR/88aekuXH99mV6qnY0O5Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefiedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 May 2021 08:19:35 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, kevin.laatz@intel.com, sunil.pai.g@intel.com, jiayu.hu@intel.com Date: Tue, 04 May 2021 14:19:34 +0200 Message-ID: <1785544.cZ0GrJGSvr@thomas> In-Reply-To: References: <20210318182042.43658-1-bruce.richardson@intel.com> <3569712.0Jme0LqbK9@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 08/12] raw/ioat: add bus driver for device scanning automatically 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" 04/05/2021 14:07, Bruce Richardson: > On Mon, May 03, 2021 at 11:32:04PM +0200, Thomas Monjalon wrote: > > 30/04/2021 17:06, Bruce Richardson: > > You may want to allow iterating devices of the bus > > by implementing .dev_iterate callback. > > I was wondering about that. What is the expected use-case in general for > such iteration? Simple things like listing devices. You can check git grep RTE_DEV_FOREACH for the first usages. This callback can be implemented in next release, no rush.