Re: [dpdk-dev] [PATCH 2/2] app/testpmd: add NVGRE encap/decap support

2018-06-15 Thread Nélio Laranjeiro
Hi Bernard, On Fri, Jun 15, 2018 at 09:32:02AM +, Iremonger, Bernard wrote: > Hi Nelio, > >[...] > > @@ -14927,6 +14930,81 @@ cmdline_parse_inst_t cmd_set_vxlan = { > > }, > > }; > > > > +/** Set VXLAN encapsulation details */ > > VXLAN should be NVGRE. >[...] Right, > > b/app/test-p

Re: [dpdk-dev] [PATCH 2/2] app/testpmd: add NVGRE encap/decap support

2018-06-15 Thread Iremonger, Bernard
Hi Nelio, > -Original Message- > From: Nelio Laranjeiro [mailto:nelio.laranje...@6wind.com] > Sent: Thursday, June 14, 2018 4:09 PM > To: dev@dpdk.org; Adrien Mazarguil ; Lu, > Wenzhuo ; Wu, Jingjing ; > Iremonger, Bernard > Cc: Awal, Mohammad Abdul > Subject: [PATCH 2/2] app/testpmd: ad

[dpdk-dev] [PATCH 2/2] app/testpmd: add NVGRE encap/decap support

2018-06-14 Thread Nelio Laranjeiro
Due to the complex NVGRE_ENCAP flow action and based on the fact testpmd does not allocate memory, this patch adds a new command in testpmd to initialise a global structure containing the necessary information to make the outer layer of the packet. This same global structure will then be used by t