From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 6935DC32E for ; Thu, 18 Feb 2016 02:57:30 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 17 Feb 2016 17:57:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,463,1449561600"; d="scan'208";a="915427530" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 17 Feb 2016 17:57:29 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 17 Feb 2016 17:57:24 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 17 Feb 2016 17:57:24 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.117]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.196]) with mapi id 14.03.0248.002; Thu, 18 Feb 2016 09:57:22 +0800 From: "Zhang, Helin" To: "Yang, Ziye" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] PCI: ABI change request for adding new field in rte_pci_id structure Thread-Index: AQHRaSfOWnTmpQ0KxkShFLWr6Ut/b58xDOwg Date: Thu, 18 Feb 2016 01:57:21 +0000 Message-ID: References: <1455596119-4613-1-git-send-email-ziye.yang@intel.com> <1455674073-16579-1-git-send-email-ziye.yang@intel.com> In-Reply-To: <1455674073-16579-1-git-send-email-ziye.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "Yang, Ziye" 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: Thu, 18 Feb 2016 01:57:30 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ziye Yang > Sent: Wednesday, February 17, 2016 9:55 AM > To: dev@dpdk.org > Cc: Yang, Ziye > Subject: [dpdk-dev] [PATCH v3] PCI: ABI change request for adding new fie= ld > in rte_pci_id structure >=20 > From: Ziye >=20 > The purpose of this patch is used to add a new field "class" in rte_pci_i= d > structure. The new class field includes class_id, subcalss_id, programmin= g > 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 q= uite > convenient. >=20 > Signed-off-by: Ziye Yang Acked-by: Helin Zhang