Hi, > -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Xiaoyu Min > Sent: Wednesday, September 11, 2019 11:46 AM > To: Matan Azrad <ma...@mellanox.com>; Shahaf Shuler > <shah...@mellanox.com>; Slava Ovsiienko <viachesl...@mellanox.com> > Cc: dev@dpdk.org; Ori Kam <or...@mellanox.com>; sta...@dpdk.org > 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: sta...@dpdk.org > > Signed-off-by: Xiaoyu Min <jack...@mellanox.com> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh