[dpdk-dev] [PATCH] app/testpmd: fix MPLSoGRE encapsulation

Ferruh Yigit ferruh.yigit at intel.com
Tue Dec 11 18:29:41 CET 2018


On 12/6/2018 9:38 AM, Ori Kam wrote:

<...>

>>>> Subject: [dpdk-dev] [PATCH] app/testpmd: fix MPLSoGRE encapsulation
>>>>
>>>> In function cmd_set_mplsogre_encap_parsed(), MPLS label value was set
>>>> in mplsogre_encap_conf struct without the required offset.
>>>> As a result the value was copied incorrectly into rte_flow_item_mpls
>>>> struct.
>>>>
>>>> This patch sets MPLS label value in appropriate location at
>>>> mplsogre_encap_conf struct, so it is correctly copied to
>>>> rte_flow_item_mpls struct.
>>>>
>>>> Fixes: 3e77031be855 ("app/testpmd: add MPLSoGRE encapsulation")
>>>> Cc: orika at mellanox.com
>>>>
>>>> Signed-off-by: Dekel Peled <dekelp at mellanox.com>
> 
> Acked-by: Ori Kam <orika at mellanox.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list