From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 6251C2C10 for ; Tue, 5 Apr 2016 17:32:43 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id n3so26885035wmn.0 for ; Tue, 05 Apr 2016 08:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=vrLvsmN52T0t7TpYvwZlUU42t585ALOu4AWbsCv6jnA=; b=wFuQp/HtwyWTuSq6rtluvQUfdqVHzcg1rlqCOPfQZcr0qUo4oGg4phqFtXYFjem7RK cNshxfQR3FUVuTg8udzrNqCGLt4v6aU8XUj9HLw06EqvB1SgYl4Greu5zrV1ubYmf3Zr SW4nKG1TbyOIOp4jEbBy3lO73UEpec6xVcgBLwLN82GMDRXIlh/CLQg5ln3xRP4chk9G sTkmkNIDWMU012STz1tufsp1GRyHoTY0ox4pFbPIvETljA5iIF7pPbEgf7UB00k13vpu 8reTfmeggV82XyYnjuOm8Cqe+ctHYaBYV8/OTQNoArzdfNM4T+iGIwL01sEgdSl6V4vt bPkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=vrLvsmN52T0t7TpYvwZlUU42t585ALOu4AWbsCv6jnA=; b=C0kTV4TXCjLf507UsLq3wK9GQVXTb3pxvo41RgVRpWf9P5IR9QVG8PMRn29Q9sZVCW qhAMnJh/0EVNmVcDPyD+A7fL0mTBD0PLHSyD50F3sldFTW9CB13JlDjfdX1JvYkht50p L8AqSxsZNOTS5n5EzEcFikCX2F0t7nMVpvWfkqr/98z7lrPAqpMprWvqJp36E1k2Efr9 DDvwZ/lo3oTX975ydK3GTJNR9UrCsB8sb89c+eCI9A313i6cmYPoHdjxtBj+S/Mme83l hG6xG3bSActtxv53vXG8nq+r6lQrrqchxIHZLsbVNfmK9N7tR1AVyXQvozJckTT1EFhT UilA== X-Gm-Message-State: AD7BkJK4CRralEvclQPfsvogr3JAbG1NhQdyeQ1rSaeCGkLmo90KxnJyxbOPWFIBFxyYcWfO X-Received: by 10.28.32.199 with SMTP id g190mr18092249wmg.62.1459870363218; Tue, 05 Apr 2016 08:32:43 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id u145sm20069324wmu.17.2016.04.05.08.32.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2016 08:32:42 -0700 (PDT) From: Thomas Monjalon To: Ziye Yang Cc: dev@dpdk.org, Bruce Richardson Date: Tue, 05 Apr 2016 17:31:04 +0200 Message-ID: <2409961.3DrZBAHYtN@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160217101434.GA32216@bricha3-MOBL3> References: <1455596119-4613-1-git-send-email-ziye.yang@intel.com> <1455674073-16579-1-git-send-email-ziye.yang@intel.com> <20160217101434.GA32216@bricha3-MOBL3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] PCI: ABI change request for adding new field in rte_pci_id structure X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 15:32:43 -0000 > > The purpose of this patch is used to add a new field > > "class" in rte_pci_id structure. The new class field includes > > class_id, subcalss_id, programming interface of a pci device. > > With this field, we can identify pci device by its class info, > > which can be more flexible instead of probing the device by > > vendor_id OR device_id OR subvendor_id OR subdevice_id. > > For example, we can probe all nvme devices by class field, which > > can be quite convenient. > > > > Signed-off-by: Ziye Yang > > Acked-by: Bruce Richardson > Acked-by: Helin Zhang > Acked-by: Cunming Liang Applied, thanks