From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] doc: announce ABI change for struct rte_eth_conf Date: Mon, 07 Dec 2015 04:40:23 +0100 Message-ID: <3679869.2UDrnTTX50@xps13> References: <1449457307-15206-1-git-send-email-jijiang.liu@intel.com> <9803987.ILZ5mdRcVm@xps13> <1ED644BD7E0A5F4091CF203DAFB8E4CC22BE50BE@SHSMSX101.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Liu, Jijiang" Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 612949585 for ; Mon, 7 Dec 2015 04:41:35 +0100 (CET) Received: by wmec201 with SMTP id c201so146808695wme.0 for ; Sun, 06 Dec 2015 19:41:35 -0800 (PST) In-Reply-To: <1ED644BD7E0A5F4091CF203DAFB8E4CC22BE50BE@SHSMSX101.ccr.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-07 03:30, Liu, Jijiang: > Hi Thomas, > > > -----Original Message----- > > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > Sent: Monday, December 07, 2015 11:17 AM > > To: Liu, Jijiang > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] doc: announce ABI change for struct > > rte_eth_conf > > > > 2015-12-07 11:01, Jijiang Liu: > > > +* ABI changes are planned for struct rte_eth_conf in order to support > > > + tunneling packet configuration in unified tunneling API. The release 2.2 > > does not contain these ABI > > > + changes, but release 2.3 will, and no backwards compatibility is planned. > > > > Please, more details would be appreciated. > > We need to decide whether an ABI deprecation is the right choice. > > * ABI changes are planned for struct rte_eth_conf in order to support > tunneling packet configuration in unified tunneling APIs, which is the rte_eth_dev_tunnel_configure > (uint8_t port_id, uint16_t rx_q, uint16_t tx_q, rte_eth_tunnel_conf * tunnel_conf) API is planned to add. > and the 'tunnel_conf' shloud be stored in global 'rte_eth_conf'. > The release 2.2 does not contain these ABI change, but release 2.3 will, and no backwards compatibility is planned. > > Is it enough clear? No, I think we need an explanation in the commit message of what is the purpose of rte_eth_dev_tunnel_configure() and tunnel_conf. Ideally, an RFC patch would help.