From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from stargate3.asicdesigners.com (stargate.chelsio.com [12.32.117.8]) by dpdk.org (Postfix) with ESMTP id 704262BCD for ; Thu, 25 Feb 2016 10:12:16 +0100 (CET) Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate3.asicdesigners.com (8.13.8/8.13.8) with ESMTP id u1P9CAK7008205; Thu, 25 Feb 2016 01:12:11 -0800 Date: Thu, 25 Feb 2016 14:41:52 +0530 From: Rahul Lakkireddy To: "Wu, Jingjing" Message-ID: <20160225091150.GA10077@chelsio.com> References: <9BB6961774997848B5B42BEC655768F8DC92CA@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9BB6961774997848B5B42BEC655768F8DC92CA@SHSMSX104.ccr.corp.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Cc: "dev@dpdk.org" , Kumar A S , Nirranjan Kirubaharan Subject: Re: [dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir 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: Thu, 25 Feb 2016 09:12:17 -0000 Hi Jingjing, On Wednesday, February 02/24/16, 2016 at 19:26:54 -0800, Wu, Jingjing wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Rahul Lakkireddy > > Sent: Wednesday, February 03, 2016 4:32 PM > > To: dev@dpdk.org > > Cc: Kumar Sanghvi; Nirranjan Kirubaharan > > Subject: [dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new > > behavior switch to fdir > > > > Add a new raw packet flow that allows specifying generic flow input. > > > > Add the ability to provide masks for fields in flow to allow range of values. > > > > Add a new behavior switch. > > > > Add the ability to provide behavior arguments to allow rewriting matched > > fields with new values. Ex: allows to provide new ip and port addresses to > > rewrite the fields of packets matching a filter rule before NAT'ing. > > > > Signed-off-by: Rahul Lakkireddy > > Signed-off-by: Kumar Sanghvi > > --- > > doc/guides/rel_notes/release_2_3.rst | 3 +++ > > lib/librte_ether/rte_eth_ctrl.h | 15 ++++++++++++++- > > 2 files changed, 17 insertions(+), 1 deletion(-) > > > > diff --git a/doc/guides/rel_notes/release_2_3.rst > > b/doc/guides/rel_notes/release_2_3.rst > > index 99de186..19ce954 100644 > > --- a/doc/guides/rel_notes/release_2_3.rst > > +++ b/doc/guides/rel_notes/release_2_3.rst > > @@ -39,6 +39,9 @@ API Changes > > ABI Changes > > ----------- > > > > +* New flow type ``RTE_ETH_FLOW_RAW_PKT`` had been introduced and > > hence > > + ``RTE_ETH_FLOW_MAX`` had been increased to 19. > > + > > > Great to see a raw_pkt_flow type. > And there is already a flow type "RTE_ETH_FLOW_RAW", it's not necessary to add a new one. I added a new type based on your feedback only http://permalink.gmane.org/gmane.comp.networking.dpdk.devel/31386 So, do you want me to revert this change and use RTE_ETH_FLOW_RAW instead ? Thanks, Rahul.