From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Aug 2017 18:12:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,318,1498546800"; d="scan'208";a="119531767" Received: from tanjianf-mobl.ccr.corp.intel.com (HELO [10.24.12.61]) ([10.24.12.61]) by orsmga002.jf.intel.com with ESMTP; 03 Aug 2017 18:12:43 -0700 To: Zhiyong Yang , dev@dpdk.org, zhihong.wang@intel.com References: <20170712075846.14834-1-zhiyong.yang@intel.com> Cc: john.mcnamara@intel.com, oilvier.matz@6wind.com, thomas@monjalon.net From: "Tan, Jianfeng" Message-ID: Date: Thu, 3 Aug 2017 18:12:43 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170712075846.14834-1-zhiyong.yang@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: , X-List-Received-Date: Fri, 04 Aug 2017 01:12:46 -0000 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