From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ziye Yang Subject: [PATCH v3] PCI: ABI change request for adding new field in rte_pci_id structure Date: Wed, 17 Feb 2016 09:54:33 +0800 Message-ID: <1455674073-16579-1-git-send-email-ziye.yang@intel.com> References: <1455596119-4613-1-git-send-email-ziye.yang@intel.com> Cc: Ziye To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 11EB1C326 for ; Wed, 17 Feb 2016 03:05:19 +0100 (CET) In-Reply-To: <1455596119-4613-1-git-send-email-ziye.yang@intel.com> 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" 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 --- doc/guides/rel_notes/deprecation.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index e94d4a2..9fa2433 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -49,3 +49,9 @@ Deprecation Notices commands (such as RETA update in testpmd). This should impact CMDLINE_PARSE_RESULT_BUFSIZE, STR_TOKEN_SIZE and RDLINE_BUF_SIZE. It should be integrated in release 2.3. + +* ABI changes are planned for struct rte_pci_id, i.e., add new field ``class``. + This new added ``class`` field can be used to probe pci device by class + related info. This change should impact size of struct rte_pci_id and struct + rte_pci_device. The release 16.04 does not contain these ABI changes, but + release 16.07 will. -- 1.9.3