mbox series

[0/3] app/testpmd: add l3 encap/decap cmd

Message ID 1538251641-91511-1-git-send-email-orika@mellanox.com (mailing list archive)
Headers
Series app/testpmd: add l3 encap/decap cmd |

Message

Ori Kam Sept. 29, 2018, 8:07 p.m. UTC
  Currently testpmd have support only for encapsulation and decapsulation
for L2 tunnels.

This series adds commands for L3 tunnels types, L3 tunnel is a tunnel
that the inner packet is missing the L2 part. The encapsulation uses
the encap_l3 command in-order to remove the inner l2.
For decapsulation since the inner packet is missing the L2 there is
a need to supply it to the NIC using the decap_l3.

The tunnels are are implemented are: MPLSoGRE and MPLSoUDP
while the decap can be used for all L3 tunnels.

This series is based on add generic L2/L3 tunnel encapsulation actions [1]

[1] https://mails.dpdk.org/archives/dev/2018-September/111781.html


Ori Kam (3):
  app/testpmd: add MPLSoUDP encapsulation
  app/testpmd: add MPLSoGRE encapsulation
  app/testpmd: add decap l3 command

 app/test-pmd/cmdline.c                      | 434 ++++++++++++++++++++++++++++
 app/test-pmd/cmdline_flow.c                 | 317 ++++++++++++++++++++
 app/test-pmd/testpmd.h                      |  42 +++
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 131 +++++++++
 4 files changed, 924 insertions(+)
  

Comments

Ferruh Yigit Oct. 5, 2018, 1:35 p.m. UTC | #1
On 9/29/2018 9:07 PM, Ori Kam wrote:
> Currently testpmd have support only for encapsulation and decapsulation
> for L2 tunnels.
> 
> This series adds commands for L3 tunnels types, L3 tunnel is a tunnel
> that the inner packet is missing the L2 part. The encapsulation uses
> the encap_l3 command in-order to remove the inner l2.
> For decapsulation since the inner packet is missing the L2 there is
> a need to supply it to the NIC using the decap_l3.
> 
> The tunnels are are implemented are: MPLSoGRE and MPLSoUDP
> while the decap can be used for all L3 tunnels.
> 
> This series is based on add generic L2/L3 tunnel encapsulation actions [1]
> 
> [1] https://mails.dpdk.org/archives/dev/2018-September/111781.html
> 
> 
> Ori Kam (3):
>   app/testpmd: add MPLSoUDP encapsulation
>   app/testpmd: add MPLSoGRE encapsulation
>   app/testpmd: add decap l3 command

Same here, can you please rebase on latest next-net. Getting a few old rte_flow
related patch caused conflict with almost all outstanding rte_flow patches...
  
Ori Kam Oct. 5, 2018, 2 p.m. UTC | #2
> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit@intel.com>
> Sent: Friday, October 5, 2018 4:35 PM
> To: Ori Kam <orika@mellanox.com>; wenzhuo.lu@intel.com;
> jingjing.wu@intel.com; bernard.iremonger@intel.com;
> arybchenko@solarflare.com; stephen@networkplumber.org; Adrien Mazarguil
> <adrien.mazarguil@6wind.com>
> Cc: dev@dpdk.org; Dekel Peled <dekelp@mellanox.com>; Thomas Monjalon
> <thomas@monjalon.net>; NĂ©lio Laranjeiro <nelio.laranjeiro@6wind.com>;
> Yongseok Koh <yskoh@mellanox.com>; Shahaf Shuler
> <shahafs@mellanox.com>
> Subject: Re: [dpdk-dev] [PATCH 0/3] app/testpmd: add l3 encap/decap cmd
> 
> On 9/29/2018 9:07 PM, Ori Kam wrote:
> > Currently testpmd have support only for encapsulation and decapsulation
> > for L2 tunnels.
> >
> > This series adds commands for L3 tunnels types, L3 tunnel is a tunnel
> > that the inner packet is missing the L2 part. The encapsulation uses
> > the encap_l3 command in-order to remove the inner l2.
> > For decapsulation since the inner packet is missing the L2 there is
> > a need to supply it to the NIC using the decap_l3.
> >
> > The tunnels are are implemented are: MPLSoGRE and MPLSoUDP
> > while the decap can be used for all L3 tunnels.
> >
> > This series is based on add generic L2/L3 tunnel encapsulation actions [1]
> >
> > [1]
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmails.d
> pdk.org%2Farchives%2Fdev%2F2018-
> September%2F111781.html&amp;data=02%7C01%7Corika%40mellanox.com%7
> C2b9d669ee5d1459c1afe08d62ac76dee%7Ca652971c7d2e4d9ba6a4d149256f4
> 61b%7C0%7C0%7C636743433379968780&amp;sdata=BJPaGlCcjAHeIxNsQ%2B
> 1crdhT3UwDWj1Z931Osy6I4Qo%3D&amp;reserved=0
> >
> >
> > Ori Kam (3):
> >   app/testpmd: add MPLSoUDP encapsulation
> >   app/testpmd: add MPLSoGRE encapsulation
> >   app/testpmd: add decap l3 command
> 
> Same here, can you please rebase on latest next-net. Getting a few old rte_flow
> related patch caused conflict with almost all outstanding rte_flow patches...

Sure I will send a new version.

Ori