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

2018-12-11 Thread Ferruh Yigit
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 witho

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

2018-12-06 Thread Ori Kam
> -Original Message- > From: Dekel Peled > Sent: Thursday, December 6, 2018 10:18 AM > To: Ori Kam ; wenzhuo...@intel.com; > jingjing...@intel.com; bernard.iremon...@intel.com > Cc: dev@dpdk.org; Shahaf Shuler > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: fix M

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

2018-12-06 Thread Dekel Peled
> > Cc: dev@dpdk.org; Ori Kam ; Shahaf Shuler > > ; Dekel Peled > > 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 r

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

2018-12-04 Thread Ori Kam
> -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Tuesday, December 4, 2018 3:52 PM > To: wenzhuo...@intel.com; jingjing...@intel.com; > bernard.iremon...@intel.com > Cc: dev@dpdk.org; Ori Kam ; Shahaf Shuler > ; Dekel Peled > Subject: [dpdk-

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

2018-12-04 Thread Dekel Peled
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 i