From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] PCI: ABI change request for adding new field in rte_pci_id structure Date: Tue, 05 Apr 2016 17:31:04 +0200 Message-ID: <2409961.3DrZBAHYtN@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson To: Ziye Yang 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) In-Reply-To: <20160217101434.GA32216@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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