From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by dpdk.org (Postfix) with ESMTP id DE07B1B44F for ; Wed, 11 Jul 2018 11:52:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id F393B2A4; Wed, 11 Jul 2018 05:52:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 11 Jul 2018 05:52:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=k18IymwPCteu2Sd+nn8Eu4R+4I v63ZAAwm7tGCRAFvk=; b=CMFvLDBftig+uQ0KmqtuWQNZQLD/HtPQPm5gnMMbwx lNh2xgbJk72w8w+HuChr+p5ukHoigxYpfiGHwVz1+brMS99x2UgEJjXYgCvJX4bo cwYT1tcurqo1jvR3eMhKCVdT8OIRz3/VX+jBujpsRH1XzBAubJAgsbGMi+KDF66M c= 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-sender:x-me-sender:x-sasl-enc; s=fm3; bh=k18Iym wPCteu2Sd+nn8Eu4R+4Iv63ZAAwm7tGCRAFvk=; b=ShDhByn4AXZFTOyYxgApJ+ 0JzWkytcntug+S/weIRs1Sv1Rg5Jh+PR9zrAFG6jcl+p+nUIE+Lw5G8l7ZR2gbgK Fjc4K7v5A+iE8axWIHKRt84ki3S57Rud1lj7nlRQ9JhPUJOLpuVVp27Rk3gA1aYR SMqd3Jq030XJpshY3YvRhErWu0pa2o5rH9lDc08s2zuUVIDXLEL5wv/tUdpJcvGt N9va+9SibwjwzUvtdURTOIKrKf27InXV6s0kAqafCDEks2zDUItb8njBifEGfOlJ E9eeuFpHUBLHo9zgg9ZB/JbJHosmaUbaOuvOc5yeMTp4fFg6M2hSCLAMS9IZSQ+w == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E8D1B1028C; Wed, 11 Jul 2018 05:52:22 -0400 (EDT) From: Thomas Monjalon To: Gaetan Rivet Cc: dev@dpdk.org Date: Wed, 11 Jul 2018 11:47:18 +0200 Message-ID: <2340517.KdJZ504IcS@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v10 10/27] eal/class: add device iteration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 09:52:25 -0000 05/07/2018 13:48, Gaetan Rivet: > Signed-off-by: Gaetan Rivet > --- > lib/librte_eal/common/include/rte_class.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/librte_eal/common/include/rte_class.h b/lib/librte_eal/common/include/rte_class.h > index e8176f5e1..9d5b06807 100644 > --- a/lib/librte_eal/common/include/rte_class.h > +++ b/lib/librte_eal/common/include/rte_class.h > @@ -30,6 +30,7 @@ TAILQ_HEAD(rte_class_list, rte_class); > struct rte_class { > TAILQ_ENTRY(rte_class) next; /**< Next device class in linked list */ > const char *name; /**< Name of the class */ > + rte_dev_iterate_t dev_iterate; /**< Device iterator. */ > }; Patches 10 and 11 can be squashed in 9.