Hi, > -----Original Message----- > From: dev <[email protected]> On Behalf Of Xiaoyu Min > Sent: Wednesday, September 11, 2019 11:46 AM > To: Matan Azrad <[email protected]>; Shahaf Shuler > <[email protected]>; Slava Ovsiienko <[email protected]> > Cc: [email protected]; Ori Kam <[email protected]>; [email protected] > Subject: [dpdk-dev] [PATCH v2] net/mlx5: improve validation of item order > > The Item order validation between L2 and L3 is missing, which leading to > the following flow rule is accepted: > > testpmd> flow create 0 ingress pattern ipv4 / eth / end actions drop / > end > > Only the outer L3 layer should check whether the L2 layer is present, > because the L3 layer could directly follow the tunnel layer > without L2 layer. > > Meanwhile inner L2 layer should check whether there is inner L3 layer > before it. > > Fixes: 23c1d42c7138 ("net/mlx5: split flow validation to dedicated function") > Cc: [email protected] > > Signed-off-by: Xiaoyu Min <[email protected]> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

