From patchwork Wed Jul 12 07:58:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yang, Zhiyong" X-Patchwork-Id: 26852 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 8FD7D7CAC; Wed, 12 Jul 2017 09:58:54 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2CC967CAA for ; Wed, 12 Jul 2017 09:58:52 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2017 00:58:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,349,1496127600"; d="scan'208";a="285850589" Received: from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182]) by fmsmga004.fm.intel.com with ESMTP; 12 Jul 2017 00:58:50 -0700 From: Zhiyong Yang To: dev@dpdk.org, zhihong.wang@intel.com Cc: john.mcnamara@intel.com, oilvier.matz@6wind.com, thomas@monjalon.net, Zhiyong Yang Date: Wed, 12 Jul 2017 15:58:46 +0800 Message-Id: <20170712075846.14834-1-zhiyong.yang@intel.com> X-Mailer: git-send-email 2.9.3 Subject: [dpdk-dev] [PATCH] doc: announce API and ABI change for ethdev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is an API/ABI change notice for DPDK 17.11 on redefinition of port_id. port_id is defined as uint8_t by now, which is just ranged from 0 to 255. For more and more scenerioes, more than 256 devices are needed to support for vdev scalability. It is necessary for redefinition of port_id to extend from 1 bytes to 2 bytes. All ethdev APIs and use cases related to port_id will be changed at the same time. Signed-off-by: Zhiyong Yang Acked-by: Jianfeng Tan Acked-by: Yuanhan Liu Acked-by: Jerin Jacob --- doc/guides/rel_notes/deprecation.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 257dcba..f265980 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -54,6 +54,10 @@ Deprecation Notices Target release for removal of the legacy API will be defined once most PMDs have switched to rte_flow. +* ABI/API changes are planned for 17.11 in the "rte_eth_dev_data" structure. + Change the definition of port_id from 8bits to 16bits in order to support + more than 256 devices in DPDK. + * librte_table: The ``key_mask`` parameter will be added to all the hash tables that currently do not have it, as well as to the hash compute function prototype. The non-"do-sig" versions of the hash tables will be removed