From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E83EEADA7 for ; Tue, 16 Feb 2016 05:19:18 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP; 15 Feb 2016 20:19:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,453,1449561600"; d="scan'208";a="48450761" Received: from waikikibeach.sh.intel.com ([10.239.129.193]) by fmsmga004.fm.intel.com with ESMTP; 15 Feb 2016 20:19:18 -0800 From: Ziye Yang To: dev@dpdk.org Date: Tue, 16 Feb 2016 12:08:45 +0800 Message-Id: <1455595725-4099-1-git-send-email-ziye.yang@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1453689419-237252> References: <1453689419-237252> Cc: Ziye Subject: [dpdk-dev] [PATCH v2] 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, 16 Feb 2016 04:19:19 -0000 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. As release_2_3.rst is replaced with release_16_04.rst Signed-off-by: Ziye Yang --- doc/guides/rel_notes/release_16_04.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/guides/rel_notes/release_16_04.rst b/doc/guides/rel_notes/release_16_04.rst index 27fc624..fe843a5 100644 --- a/doc/guides/rel_notes/release_16_04.rst +++ b/doc/guides/rel_notes/release_16_04.rst @@ -95,9 +95,10 @@ This section should contain API changes. Sample format: ABI Changes ----------- -* Add a short 1-2 sentence description of the ABI change that was announced in - the previous releases and made in this release. Use fixed width quotes for - ``rte_function_names`` or ``rte_struct_names``. Use the past tense. +* New field ``class`` is added into ``rte_pci_id`` structure. This new + added ``class`` field can be used to probe pci devices by class related + info. With this new field, the size of structure ``rte_pci_device`` will + be increased. Shared Library Versions -- 1.9.3