Hi, > -----Original Message----- > From: Bing Zhao <[email protected]> > Sent: Tuesday, November 3, 2020 7:43 AM > To: Slava Ovsiienko <[email protected]>; Matan Azrad > <[email protected]> > Cc: [email protected]; Ori Kam <[email protected]>; Raslan Darawsheh > <[email protected]>; [email protected] > Subject: [PATCH] net/mlx5: fix eCPRI previous layer checking > > Based on the specification, eCPRI can only follow ETH (VLAN) layer > or UDP layer. When creating a flow with eCPRI item, this should be > checked and invalid layout of the layers should be rejected. > > Fixes: c7eca23657b7 ("net/mlx5: add flow validation of eCPRI header") > > Cc: [email protected] > > Signed-off-by: Bing Zhao <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]> > --- > drivers/net/mlx5/mlx5_flow.c | 29 ++++++++++++++++++----------- > 1 file changed, 18 insertions(+), 11 deletions(-)
Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh

