From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 2/2] librte_pipeline: add new API functions for pipeline action handlers Date: Thu, 10 Mar 2016 01:21:38 +0100 Message-ID: <4858265.37V6eaHxtX@xps13> References: <1457002906-69859-1-git-send-email-jasvinder.singh@intel.com> <1457460469-209945-1-git-send-email-jasvinder.singh@intel.com> <1457460469-209945-2-git-send-email-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jasvinder Singh Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 3A8272B97 for ; Thu, 10 Mar 2016 01:23:19 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id p65so7899142wmp.1 for ; Wed, 09 Mar 2016 16:23:19 -0800 (PST) In-Reply-To: <1457460469-209945-2-git-send-email-jasvinder.singh@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" 2016-03-08 18:07, Jasvinder Singh: > Two new pipeline API functions have been added to the library. The packet > hijack API function can be called by any input/output port or table action > handler to remove selected packets from the burst of packets read from one > of the pipeline input ports and then either send these packets out through > any pipeline output port or drop them. > > Another packet drop API function can be used by the pipeline action > handlers (port in/out, table) to drop the packets selected using packet > mask. This function updates the drop statistics counters correctly. > > Signed-off-by: Jasvinder Singh > Acked-by: Cristian Dumitrescu Series applied, thanks