From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 143611E34 for ; Sun, 7 May 2017 14:32:55 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7A304208D4; Sun, 7 May 2017 08:32:55 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 07 May 2017 08:32:55 -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:x-sasl-enc; s=mesmtp; bh=BPM//IthS4EuJKv 2dHvx2DZ0QPIod4/enSMESJs9Ljg=; b=CnN5pV/vePSKfNg/CKsgxbXMwhC67Et IoebeYUlbNA/p/hKF/MZfVkEM+dwFhkfKkgb9IV1KDU/fhwofcsKECLAzEO5bGSI kPU1+pimL0n/Mi3i/OJvCKfP+yaQlO6Rq1OzPW5QRu8D3zAalxtDxeVw2YkzCIse Y8t2vN1dSIBw= 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:x-sasl-enc; s= fm1; bh=BPM//IthS4EuJKv2dHvx2DZ0QPIod4/enSMESJs9Ljg=; b=d6dm9q6u LYErU4hhtaLqE0xNyZQkpLM0U7FlZFm6icPtOIyeI4y8+j0nH7i4++lUwKhcxgyd TU0uulcl1FaTTZI/PoxTOYoJJIgnMcG4DKDVtHYXeULIEvVhbl9y9M/3LntWfF+U 3GOagiiU7pSK38XnWaFMS//tnkQaQ0LK5rS0IiDPtsGDv7mInwOoQFEs0OinpSl9 9ATtTKm8YJIx2myVRYdi5plLNqzQyO+Mq98ReVQhQTQPb6r2MhvWJXeEj+zb1nWV ZGTB5mMNXZKSqCO82/gZFbKenCz2DiE0+GoqBXIWBO34T52hMw26wrEJTNrWm7h0 MuHf5qrzdtn3zQ== X-ME-Sender: X-Sasl-enc: JqVAKb/ZiJqH99G3sBpYPO2bt3jVhp2bOL3IAkPGRZGl 1494160375 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1448C24658; Sun, 7 May 2017 08:32:55 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob , Guduri Prathyusha Cc: dev@dpdk.org Date: Sun, 07 May 2017 14:32:52 +0200 Message-ID: <1973020.BjQ8ekqMGp@xps> In-Reply-To: <20170504104850.7404-1-jerin.jacob@caviumnetworks.com> References: <20170504104850.7404-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/2] usertools: fix adding devices of same class 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: Sun, 07 May 2017 12:32:56 -0000 04/05/2017 12:48, Jerin Jacob: > From: Guduri Prathyusha > > If multiple devices of same class are added to a device type, > only devices that match first device listed in device type list are > processed. > > Fixing it in device_type_match() by returning false after iterating > through all the devices listed in a device type list. > > Fixes: 8ad08a287918 ("usertools: define DPDK PCI functional device") > > Signed-off-by: Guduri Prathyusha Series applied, thanks