Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang <jiaw...@nvidia.com> > Sent: Thursday, October 20, 2022 3:56 PM > To: Slava Ovsiienko <viachesl...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Ori Kam <or...@nvidia.com>; Raslan Darawsheh > <rasl...@nvidia.com>; Lior Margalit <lmarga...@nvidia.com> > Cc: dev@dpdk.org; sta...@dpdk.org > 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: sta...@dpdk.org > > Signed-off-by: Jiawei Wang <jiaw...@nvidia.com> > Acked-by: Slava Ovsiienko <viachesl...@nvidia.com>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh