From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tan, Jianfeng" Subject: Re: [PATCH] doc: announce API and ABI change for ethdev Date: Thu, 3 Aug 2017 18:12:43 -0700 Message-ID: References: <20170712075846.14834-1-zhiyong.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: john.mcnamara@intel.com, oilvier.matz@6wind.com, thomas@monjalon.net To: Zhiyong Yang , dev@dpdk.org, zhihong.wang@intel.com Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 872842BC8 for ; Fri, 4 Aug 2017 03:12:45 +0200 (CEST) In-Reply-To: <20170712075846.14834-1-zhiyong.yang@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/12/2017 12:58 AM, Zhiyong Yang wrote: > This is an API/ABI change notice for DPDK 17.11 on redefinition of A nit: we usually don't indent at the commit message paragraph. > 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 Thanks, Jianfeng > --- > 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