From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by dpdk.org (Postfix) with ESMTP id 7BE4516E; Thu, 18 May 2017 16:04:09 +0200 (CEST) Received: by mail-qk0-f195.google.com with SMTP id u75so6139025qka.1; Thu, 18 May 2017 07:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EpEgQ0oH/ofD15tewb3hRPd/PC7vlSRFZoi1FNOSOtM=; b=ttg+IURXnc339EH2EaOhB1f9XEbBPjSF0tmpezfAzIFyGqeUWBCZPeT06lJ9jSpp+h 7dhrX0PFtMoLWQytpFItKvBnFra4LPmfTgyWNyh2h1cc2rVzjfZFR6/J0mWYR1LKgiHM MWEjErw6ZlK2tanLuKf7/rjM9J0fQJnO9ef+zJ0LDyYtC85G4CrXjE8wBsNAvwh62bzT yfgAfEmQccLAE9ILPM205yGMOlV7qtRp4Luo99xSaKDy6rxv+fog5zVzmWP0cb3xCZ6R ylillA13NsU426GBF1CM4DFYhc4dxixmH99otc3rRoRC1AJUkvCNSe238t6IGu8T0D1F FJ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EpEgQ0oH/ofD15tewb3hRPd/PC7vlSRFZoi1FNOSOtM=; b=pnDn0Wyykz3jBakFcAyES6QhzUi5s6FtxxwcywrEIWiBVwf58m4n7Gzlgk83EacWiA j9Ay5oP27ZW1fOWhwaHfu4ZbxqmkvEvyQGbKFtDzctKW2Y8qVNo9o8vyOfsLkurA/5Y6 SWNgEOZa3AO7HGlYuIj3Nli55UI0UJ8/WES0mmPpx8eODgzu3ORykMtPh30doy+nMmJ5 AqUItSkpMtWfAHHpvUU6bzBb7XFjZ9pmUaNzSaTElETaP3Erzthf8lPiwzXqKUlVxy7h X5xt5wE14gVVztoSzma1GGhD/ysnHebFlY5zXGSBA35nAvqQj1ymB8/AFvtlha3bFy88 H/0g== X-Gm-Message-State: AODbwcB6rjhoL9EKH2ztve9jiUUFkAb+Mr2Mdh5APRsU5KaAYQ2Tky4M K516VPaR5rSDp5t6X+6/EJZviFBiQw== X-Received: by 10.55.17.232 with SMTP id 101mr4200527qkr.74.1495116248972; Thu, 18 May 2017 07:04:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.172.76 with HTTP; Thu, 18 May 2017 07:04:08 -0700 (PDT) In-Reply-To: References: From: Shyam Shrivastav Date: Thu, 18 May 2017 19:34:08 +0530 Message-ID: To: Nidhia Varghese Cc: users@dpdk.org, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] [dpdk-dev] Defining multiple actions based on a field value for the same table lookup in ip_pipeline application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2017 14:04:09 -0000 For each table a lookup hit and miss function can be registered, have a look at rte_pipeline_run(struct rte_pipeline *p) for the semantics On Thu, May 18, 2017 at 5:53 PM, Nidhia Varghese wrote: > Hi all, > > I am trying to design a pipeline where the table lookup has to do the > actions as follows: > > Lookup hit -> FWD to port > Lookup miss -> add a table entry if incoming port was 1 > drop if incoming port was 2 > > Is it possible to do such an implementation using ip_pipeline application? > If so, how can I do that? > > Thanks for your reply and help. > > Thanks, > Nidhia Varghese >