From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 3DCB48E65 for ; Thu, 1 Oct 2015 19:19:14 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZhhVZ-0005k5-0A; Thu, 01 Oct 2015 13:19:09 -0400 Date: Thu, 1 Oct 2015 13:18:58 -0400 From: Neil Horman To: "Dumitrescu, Cristian" Message-ID: <20151001171858.GD4537@hmsreliant.think-freely.org> References: <3EB4FA525960D640B5BDFFD6A3D89126478DBD44@IRSMSX108.ger.corp.intel.com> <1443690315-28489-1-git-send-email-jasvinder.singh@intel.com> <20151001110049.GB4537@hmsreliant.think-freely.org> <3EB4FA525960D640B5BDFFD6A3D89126478DC90B@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D89126478DC90B@IRSMSX108.ger.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -1.0 (-) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2] ip_pipeline: add more functions to routing-pipeline 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: Thu, 01 Oct 2015 17:19:14 -0000 On Thu, Oct 01, 2015 at 12:37:51PM +0000, Dumitrescu, Cristian wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Neil Horman > > Sent: Thursday, October 1, 2015 12:01 PM > > To: Singh, Jasvinder > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2] ip_pipeline: add more functions to > > routing-pipeline > > > > > > > > /* > > > @@ -106,9 +164,7 @@ struct pipeline_routing_route_add_msg_req { > > > struct pipeline_routing_route_key key; > > > > > > /* data */ > > > - uint32_t flags; > > > - uint32_t port_id; /* Output port ID */ > > > - uint32_t ip; /* Next hop IP address (only valid for remote routes) */ > > > + struct pipeline_routing_route_data data; > > > }; > > > > > > > The example that you modifying appears to directly set the structure fields > > that > > you removing above. As such these appear to be ABI breaking changes and > > need to > > go through the ABI process > > > > Neil > > Hi Neil, > > This patch only changes application code (in DPDK examples/ip_pipeline folder), it does not change any library code (in DPDK lib folder). There is no ABI versioning required for the example applications, so I don't think the ABI restrictions are applicable here. > > The pipelines in the ip_pipeline application are provided only as examples to encourage people to create their own pipelines, and their implementation is evolving as new features are added. They are intended to support only a limited set of protocols and features; for example, in this case of the routing pipeline, there is no intention to have them support an exhaustive list of routing protocols (as this would be virtually impossible). Therefore, there is no plan to standardize them and make them library code, where the API/ABI preservation is required. > > The code where we are committed to keep the API compatibility and apply the ABI change process rigorously is the library code (e.g. librte_port, librte_table, librte_pipeline) and we are consistently doing this. > > Thank you for your comment! > Yup, youre right, my bad, I looked at the header file and thought it was part of one of the libraries Neil > Regards, > Cristian > >