From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 4DCCE8D99 for ; Mon, 25 Jan 2016 03:47:48 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 24 Jan 2016 18:47:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,342,1449561600"; d="scan'208";a="900334250" Received: from waikikibeach.sh.intel.com ([10.239.129.100]) by fmsmga002.fm.intel.com with ESMTP; 24 Jan 2016 18:47:45 -0800 From: Ziye Yang To: dev@dpdk.org Date: Mon, 25 Jan 2016 10:36:59 +0800 Message-Id: <1453689419-237252-1-git-send-email-ziye.yang@intel.com> X-Mailer: git-send-email 1.9.3 Cc: Ziye Subject: [dpdk-dev] [PATCH] 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: Mon, 25 Jan 2016 02:47:48 -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. Signed-off-by: Ziye Yang --- doc/guides/rel_notes/release_2_3.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_3.rst b/doc/guides/rel_notes/release_2_3.rst index 99de186..8fcb43f 100644 --- a/doc/guides/rel_notes/release_2_3.rst +++ b/doc/guides/rel_notes/release_2_3.rst @@ -39,6 +39,10 @@ API Changes ABI Changes ----------- +* 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