From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=r4Y9gqOPDPIzJQw7dpY/VU4dsbvf3EKk/h4hwUuYWYI=; b=ebwk1lC1KXFN5r01HZc5JdLv1o8/KxjB1FJmK6UwzSZTVgPBNhxWFRpI7fPAGAgrr9 KxAJghpH8zhGeIFwuRFVnFN2FMpmh/3C3BMKWzUWyVYYBffwyTEiLll8zgWYdHwkyQqr l1VUJbP8R7vyo7ipQ0imXGiPe2LIFvSgN/eJRv1WJIjjATsZ3Sw69wJBy2GU+B8UEEqw 6fZ0z+VpyEYiuUMxJ1XUyKFJQZsyEKLDK5txlHXBnI/l9CqJzLR9CeUPo2/E9jO6W+4q y4ugUK5R47sjvv0BkyZvzp7f9MV3t3MyFgIdOZn4FIv6QQvMiIuuW54jZcOMgObFAOUT +wew== 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=r4Y9gqOPDPIzJQw7dpY/VU4dsbvf3EKk/h4hwUuYWYI=; b=Y1UZtoAiaF5qC4SFezVGawXrjE18dqFqkH+lKiWWVoZzh1pv/ncDVzjym2ks1thoNB F3oSt1tJA5AficB45YOVbWC2EKJv8GhXHAcHGfYsWIaKE3OijtvtltGOTtcKiZ5WA97i 7pbmOxlphf9hmIS9My9KCfT3M54q+dCq8TwHjorXlFobrPW9VFEIYjlOJiHq7qM8ZgFC x/SAQAgJlWXA3m63ht6QE/+bEATAoEBdOtDGMYr0nbw46LyPyF9fxeOKu9qo7J8S21dD PKr+MxwI1H+L2tUg3VFgnROQsATascYXY1HryWMs38NEQv4dz+QQFazvh4+QXGGX8xgC m3fg== X-Gm-Message-State: APt69E1OvdHOHspG73+6r4UuNMb43tpzP4UQQlGDS8tdJmrKfmbXfhM9 NsbVPBaqzE0xbqSm2Kq4YlGv X-Google-Smtp-Source: ADUXVKKRvR1aNsErG6fleew31yaropamItwGwuK11knN2RoTC6AcDqozGH0lK1u4V9L6MybWmcoOwQ== X-Received: by 2002:a1c:da4e:: with SMTP id r75-v6mr11068069wmg.64.1529401256675; Tue, 19 Jun 2018 02:40:56 -0700 (PDT) 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 c3-v6sm7700023wmb.40.2018.06.19.02.40.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 02:40:55 -0700 (PDT) Date: Tue, 19 Jun 2018 11:41:05 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: "Iremonger, Bernard" Cc: "dev@dpdk.org" , Adrien Mazarguil , "Lu, Wenzhuo" , "Wu, Jingjing" , "Awal, Mohammad Abdul" 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8CEF83825BEC744B83065625E567D7C260CB4ACD@IRSMSX108.ger.corp.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v3 0/2] app/testpmd implement VXLAN/NVGRE Encap/Decap 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: Tue, 19 Jun 2018 09:40:57 -0000 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