From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id B31162C62 for ; Mon, 7 Mar 2016 12:03:28 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id l68so80292834wml.0 for ; Mon, 07 Mar 2016 03:03:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=pTNwyGNMoj6wVm03Gl71Av3jfpMpy0cBR3f2OlsoFzU=; b=fHZ5Ez/VZ1ZW67ICQVlqJuUlUbKxajUpsOjTk5TZBWcg94lIUQggdg2obnik26SeNY Kn58HRAkrvBvdeLVzOrfS6SmYEB+DDb4srlYjZqISW91WdxM8HzIJOnquNYzMYiRsufJ F4AZBOQ2sBRvatRiyQUJ5Z8bmV26CB0uhzZYiHdEbHghTupWBbeGFAUm5y/x4cn12af4 ZTaT56ID826rtR7LWG3x5qp4kMdhPfQ3Ez5Tl0QHCsMpb1SNcfxWe8YKdhZIS1hy8nW+ c0ZppPlTsBfWbUt5QE2loJz9bxtXE5cO9FCRoN1KSe8WKEj/fzdhkKWHggJE4pubz86H IO1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=pTNwyGNMoj6wVm03Gl71Av3jfpMpy0cBR3f2OlsoFzU=; b=HYw6JxdxwY7+hyWEyzrPYKcyIMgQSBUg0NROctD2EiNgsjHMT0yrIu7rMnwoS3yngn q8l6JIxO+CHUXlXY0/j0mBaGZ0rdAiXrVge8Ky779GMMud4PWuYKydKumqqvIN8Q29AM chynyGRE3SmWsJT63EyjedA1u4gOoibVnksZjS9mPCQ099jo/iJP0JvFW+QmYi6U/D/K vTB0tDTkJipJ0QWfdfUMU/syQ9fETuneviOCMqb2FRnMhqOC2zwQx+ZiQMOltLwlvM/k lfY1GGEjyAH0DVYCxD1yD/ovJ/PHDDybQONtfLozXIucs9qIQpDwG97TAHfIKkfSN84Q basg== X-Gm-Message-State: AD7BkJLE1hy99PvJvZd0n9fpw2ODn0vEPTbwiah3Pkl/SNp2yqABtxaCLV2FzZSMtqIQoppT X-Received: by 10.28.195.136 with SMTP id t130mr6832978wmf.27.1457348608551; Mon, 07 Mar 2016 03:03:28 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id 82sm13002597wmd.4.2016.03.07.03.03.27 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2016 03:03:27 -0800 (PST) From: Thomas Monjalon To: Jasvinder Singh Date: Mon, 07 Mar 2016 12:01:51 +0100 Message-ID: <13895624.4YkCxv7Jex@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1457002906-69859-1-git-send-email-jasvinder.singh@intel.com> References: <1456951307-35264-1-git-send-email-jasvinder.singh@intel.com> <1457002906-69859-1-git-send-email-jasvinder.singh@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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:03:28 -0000 Hi Jasvinder, Don't hesitate to leave some blank lines in your message, it's free :) 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 =0), load balancing etc. > Changes are made to the ports and table action handlers defined in > app/test_pipeline and ip_pipeline sample application. I have the feeling it would be easier to parse if the structure changes were done in a separate commit, then introduce the new function. You have forgotten to remove the deprecation notice.