From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 1/2] usertools: fix adding devices of same class Date: Sun, 07 May 2017 14:32:52 +0200 Message-ID: <1973020.BjQ8ekqMGp@xps> References: <20170504104850.7404-1-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jerin Jacob , Guduri Prathyusha 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) In-Reply-To: <20170504104850.7404-1-jerin.jacob@caviumnetworks.com> 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/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