From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Subject: Re: [PATCH v3 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap Date: Tue, 19 Jun 2018 11:41:05 +0200 Message-ID: <20180619094105.jezz2np56i2x2cdw@laranjeiro-vm.dev.6wind.com> References: <8CEF83825BEC744B83065625E567D7C260CB4ACD@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: "dev@dpdk.org" , Adrien Mazarguil , "Lu, Wenzhuo" , "Wu, Jingjing" , "Awal, Mohammad Abdul" To: "Iremonger, Bernard" Return-path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id DCA982C2F for ; Tue, 19 Jun 2018 11:40:56 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id l15-v6so18138975wmc.1 for ; Tue, 19 Jun 2018 02:40:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: <8CEF83825BEC744B83065625E567D7C260CB4ACD@IRSMSX108.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Jun 18, 2018 at 04:28:05PM +0000, Iremonger, Bernard wrote: > Hi Nelio, > > > -----Original Message----- > > From: Nelio Laranjeiro [mailto:nelio.laranjeiro@6wind.com] > > Sent: Monday, June 18, 2018 3:37 PM > > To: dev@dpdk.org; Adrien Mazarguil ; Lu, > > Wenzhuo ; Wu, Jingjing ; > > Iremonger, Bernard ; Awal, Mohammad Abdul > > > > Subject: [PATCH v3 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap > > > > This series adds an easy and maintainable configuration version support for > > those two actions for 18.08 by using global variables in testpmd to store the > > necessary information for the tunnel encapsulation. Those variables are used in > > conjunction of RTE_FLOW_ACTION_{VXLAN,NVGRE}_ENCAP action to create > > easily the action for flows. > > > > A common way to use it: > > > > set vxlan ipv4 4 4 4 127.0.0.1 128.0.0.1 11:11:11:11:11:11 22:22:22:22:22:22 > > flow create 0 ingress pattern end actions vxlan_encap / queue index 0 / end > > > > set vxlan ipv6 4 4 4 ::1 ::2222 11:11:11:11:11:11 22:22:22:22:22:22 flow create > > 0 ingress pattern end actions vxlan_encap / queue index 0 / end > > > > set nvgre ipv4 4 127.0.0.1 128.0.0.1 11:11:11:11:11:11 22:22:22:22:22:22 flow > > create 0 ingress pattern end actions nvgre_encap / queue index 0 / end > > > > set nvgre ipv6 4 ::1 ::2222 11:11:11:11:11:11 22:22:22:22:22:22 flow create 0 > > ingress pattern end actions nvgre_encap / queue index 0 / end > > > > It might be useful to add the above sample testpmd command lines to > section 4.12 of the doc/guides/testpmd_app_ug/testpmd_funcs.rst file >[...] Agreed, I'll add it in the v4. Thanks, -- Nélio Laranjeiro 6WIND