[dpdk-stable] [PATCH] app/testpmd: fix IP next proto in set raw decap/encap

Ori Kam orika at mellanox.com
Thu Oct 31 19:22:14 CET 2019



> -----Original Message-----
> From: Xiaoyu Min <jackmin at mellanox.com>
> Sent: Thursday, October 31, 2019 12:11 PM
> To: Ori Kam <orika at mellanox.com>; Adrien Mazarguil
> <adrien.mazarguil at 6wind.com>; Wenzhuo Lu <wenzhuo.lu at intel.com>;
> Jingjing Wu <jingjing.wu at intel.com>; Bernard Iremonger
> <bernard.iremonger at intel.com>
> Cc: dev at dpdk.org; stable at dpdk.org
> Subject: [PATCH] app/testpmd: fix IP next proto in set raw decap/encap
> 
> The IP's next protocol will be specified by user when set IP-in-IP
> tunnel header via set raw decap/encap commands.
> 
> Currently this field is wrongly set to zero if there is no upper layer.
> This leads to the encapsulated IP-in-IP tunnel header is not correct.
> 
> This next protocol field should be leave it as-is if there is no upper
> layer or value is already set.
> 
> Fixes: 30626def03d6 ("app/testpmd: support raw encap/decap actions")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Xiaoyu Min <jackmin at mellanox.com>

Acked-by: Ori Kam <orika at mellanox.com>
Thanks,
Ori


More information about the stable mailing list