Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang <[email protected]> > Sent: Thursday, October 20, 2022 3:56 PM > To: Slava Ovsiienko <[email protected]>; Matan Azrad > <[email protected]>; Ori Kam <[email protected]>; Raslan Darawsheh > <[email protected]>; Lior Margalit <[email protected]> > Cc: [email protected]; [email protected] > Subject: [PATCH] net/mlx5: fix tunnel header with IPIP offload > > For the flows with multiple tunnel layers and containing tunnel decap and > modify actions, for example: > > ... / vxlan / eth / ipv4 proto is 4 / end actions raw_decap / modify_field / > ... > (note: proto 4 means we have the IP-over-IP tunnel in VXLAN payload) > > We have added the multiple tunnel layers validation rejecting the flows like > above mentioned one. > > The hardware supports the above match combination till the inner IP-over-IP > header (not including the last one), both for IP-over-IPv4 and IP-over-IPv6, > so we should not blindly reject. Also, for the modify actions following the > decap we should set the layer attributes correctly. > > This patch reverts the below code changes to support the match, and adjusts > the layers update in case of decap with outer tunnel header. > > Fixes: fa06906a48ee ("net/mlx5: fix IPIP multi-tunnel validation") > Cc: [email protected] > > Signed-off-by: Jiawei Wang <[email protected]> > Acked-by: Slava Ovsiienko <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

