From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 319501396 for ; Mon, 7 Mar 2016 12:29:30 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 07 Mar 2016 03:29:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,551,1449561600"; d="scan'208";a="918482304" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by fmsmga001.fm.intel.com with ESMTP; 07 Mar 2016 03:29:15 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.239]) by irsmsx110.ger.corp.intel.com ([169.254.15.10]) with mapi id 14.03.0248.002; Mon, 7 Mar 2016 11:29:15 +0000 From: "Singh, Jasvinder" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v4] librte_pipeline: add support for packet redirection at action handlers Thread-Index: AQHReGESkawXpGPIuUyqm9Bv6rBFTp9N1kXQ Date: Mon, 7 Mar 2016 11:29:14 +0000 Message-ID: <54CBAA185211B4429112C315DA58FF6DDD0FD9@IRSMSX103.ger.corp.intel.com> References: <1456951307-35264-1-git-send-email-jasvinder.singh@intel.com> <1457002906-69859-1-git-send-email-jasvinder.singh@intel.com> <13895624.4YkCxv7Jex@xps13> In-Reply-To: <13895624.4YkCxv7Jex@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGFmN2Y4Y2MtYmM3NC00MjNiLTlhM2ItZDI2NDk3NDQyMTgwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjZQRnBjRThjbzVqaHpLeUNsVE04R2t5NTVEWUZrd2FBS3JKOXMyM3B5bEk9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v4] librte_pipeline: add support for packet redirection at action handlers 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: Mon, 07 Mar 2016 11:29:30 -0000 Hi Thomas, > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Monday, March 7, 2016 11:02 AM > To: Singh, Jasvinder > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] librte_pipeline: add support for packe= t > redirection at action handlers >=20 > Hi Jasvinder, >=20 > Don't hesitate to leave some blank lines in your message, it's free :) I will avail free service ;) thanks =20 > 2016-03-03 11:01, Jasvinder Singh: > > Currently, there is no mechanism that allows the pipeline ports > > (in/out) and table action handlers to override the default forwarding > > decision (as previously configured per input port or in the table > > entry). Therefore, new pipeline API functions have been added which > > allows action handlers to hijack packets and remove them from the > > pipeline processing, and then either drop them or send them out of the > > pipeline on any output port. The port > > (in/out) and table action handler prototypes have been changed for > > making use of these new API functions. This feature will be helpful to > > implement functions such as exception handling (e.g. TTL =3D0), load > balancing etc. > > Changes are made to the ports and table action handlers defined in > > app/test_pipeline and ip_pipeline sample application. >=20 > I have the feeling it would be easier to parse if the structure changes w= ere > done in a separate commit, then introduce the new function. I will send v5 as you advice. > You have forgotten to remove the deprecation notice. I think, I have updated the deprecation notice for the pipeline input port,= output port and table action handlers prototype. Do you mean anything else than this? Thanks, Jasvinder