Re: [dpdk-dev] [PATCH v6 3/3] app/testpmd: add MPLSoGRE encapsulation

2018-10-23 Thread Ferruh Yigit
On 10/22/2018 6:38 PM, Ori Kam wrote: > Example for MPLSoGRE tunnel: > ETH / IPV4 / GRE / MPLS / IP / L4..L7 > > In order to encapsulate such a tunnel there is a need to remove L2 of > the inner packet and encap the remaining tunnel, this is done by > applying 2 rte flow commands l2_decap followed

[dpdk-dev] [PATCH v6 3/3] app/testpmd: add MPLSoGRE encapsulation

2018-10-22 Thread Ori Kam
Example for MPLSoGRE tunnel: ETH / IPV4 / GRE / MPLS / IP / L4..L7 In order to encapsulate such a tunnel there is a need to remove L2 of the inner packet and encap the remaining tunnel, this is done by applying 2 rte flow commands l2_decap followed by mplsogre_encap. Both commands must appear in t