From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B6DC6C31A for ; Wed, 17 Feb 2016 11:14:38 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 17 Feb 2016 02:14:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,459,1449561600"; d="scan'208";a="904291707" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.208.63]) by fmsmga001.fm.intel.com with SMTP; 17 Feb 2016 02:14:35 -0800 Received: by (sSMTP sendmail emulation); Wed, 17 Feb 2016 10:14:35 +0025 Date: Wed, 17 Feb 2016 10:14:35 +0000 From: Bruce Richardson To: Ziye Yang Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455674073-16579-1-git-send-email-ziye.yang@intel.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org 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: Wed, 17 Feb 2016 10:14:39 -0000 On Wed, Feb 17, 2016 at 09:54:33AM +0800, Ziye Yang wrote: > From: Ziye > > 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