From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 9C21D3256 for ; Fri, 1 Dec 2017 17:26:13 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id y82so6205276wmg.1 for ; Fri, 01 Dec 2017 08:26:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=vTOZ9bhLawefmFsVxtBa/iHYH2Py/2TK4GDUz4w96sE=; b=YRvsGSQvSj8FXDzMqYOGBqudL8/j54km1nIhVYWlxOO0xxgPuJF2oPbmyz6hvfaf9v eVjqDElhOQP/ZxMP0FoZAlYu5bpNUsDLonTkJ/Mg8zOuEklo96oFp9fDNxOLQPACpUzE QjIJegDEqW1ct80DtyM+FCFSE9L21pwAGOVh1g9BNre6GB0XxSII+y6F/B0adsRpG0Gp 764h08J6O0QXU26fcLrVrZny7iiAOJmOqCAzVXs/4n46uZfJrNIkGrjU4+1Jr0ZHwkYU 3FWc8ipskW7q7gvTV1fqi4sZtqQ1QrNLsv/fYVwdRWn3bfdB08xAMXwtbXOYmFVnarC8 XuVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=vTOZ9bhLawefmFsVxtBa/iHYH2Py/2TK4GDUz4w96sE=; b=Mem48fDryW+GLN/Hd+Gcigm32CuzTnaUGFFSrwrSrXpsRFIrQpy/xXLGBFg0OmZTYf SAj13ywbLnhCEdauRp7aUFd7fB1Tj62gdA6e6+MYiMctA+IiwBP+fGyj6nEi+wokt8ZI tXPuBNYXkR5nRkFURhEvpJnPnbyZhZqtVqNhwpEebv1PM/T3UOssjcbbcbJPjtlofu7R h71IB4XVo71DC0avKnJ/HxHyz0fn+MsU8jBbU/yaKCLtzH4rMXRNNq7SKuiKa7fDeKZ2 0vKqxp6sgHet9cPhvvccBP3JGidqiYTO70GxMd1rm+XpOi28UWH2kUipAIQAgOIKidDt fSCw== X-Gm-Message-State: AKGB3mJJsAvyOWm76bx5wC7KzEsdqsC8La6XQ+1dQQV93Z2T3HDkGEbh 5cMsyGWCtIdWnRKeoz5jAW2P X-Google-Smtp-Source: AGs4zMbj+EHY8uF5ltcvt/M/9tLWdBgnS/s9r9BFMjcAumiwnVJ3QO64yciHiykBFk57NvX4wU9MnA== X-Received: by 10.28.46.67 with SMTP id u64mr1661827wmu.64.1512145573193; Fri, 01 Dec 2017 08:26:13 -0800 (PST) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id d71sm1498611wma.7.2017.12.01.08.26.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Dec 2017 08:26:12 -0800 (PST) Date: Fri, 1 Dec 2017 17:26:17 +0100 From: Nelio Laranjeiro To: Anoob Joseph Cc: Sergio Gonzalez Monroy , Radu Nicolau , dev@dpdk.org, Narayana Prasad , Jerin Jacob Message-ID: <20171201162617.eegvz4asppa4xpez@laranjeiro-vm.dev.6wind.com> References: <6ac80a2be156911ee35c894924a02f04c43f49fc.1511449894.git.nelio.laranjeiro@6wind.com> <532499c2-b00e-870e-625d-9aa13302a8a3@caviumnetworks.com> <20171129125045.lqfs6xmqradolz4x@laranjeiro-vm.dev.6wind.com> <20171130122800.2cotiud5rdcaqzkm@laranjeiro-vm.dev.6wind.com> <333ed41b-37c5-db51-45d2-7eabac483d96@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <333ed41b-37c5-db51-45d2-7eabac483d96@caviumnetworks.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: add target queues in flow actions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 16:26:13 -0000 Hi Annob On Fri, Dec 01, 2017 at 08:34:04PM +0530, Anoob Joseph wrote: > > > > I think we have an agreement here, in order the final action to be > > tested: > > > > 1. PASSTHRU > > 2. RSS > > 3. QUEUE > > > > If those 3 fails, the functions fails to create the rule, the first > > succeeding is the one applied. > PASSTHRU itself is non-terminating, right? So I'm not sure, how a check with > PASSTHRU would help us. SECURITY will be terminating action on Cavium > hardware. So, the first check could be without any addition. If that fails, > RSS. And then QUEUE. That should be fine. Agreed, assuming PASSTHRU [1] is not mandatory (i.e. explicit) when the rule action list is not terminal. A small suggestion, you should accept/ignore such action in your PMD, the API also allows applications to add it. Thanks, [1] http://dpdk.org/doc/guides/prog_guide/rte_flow.html#action-types -- Nélio Laranjeiro 6WIND