Hi, > -----Original Message----- > From: Dariusz Sosnowski <[email protected]> > Sent: Wednesday, March 2, 2022 7:07 PM > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]>; Gregory Etelson <[email protected]> > Cc: [email protected]; Raslan Darawsheh <[email protected]>; > [email protected] > Subject: [PATCH v2] net/mlx5: fix MPLS/GRE Verbs spec ordering > > When using Verbs flow engine to create flows, GRE Verbs spec was put at > the end of specs list. This created problems for flows matching MPLSoGRE > packets. In generated specs list MPLS spec was put before GRE spec, but > Verbs API requires that MPLS spec must be put in its exact location in > protocol stack. > > This patch fixes this behavior. Space for GRE Verbs spec is reserved at its > exact location. MPLS Verbs is inserted at its exact location as well. GRE > spec is > filled after all flow items are parsed. > > Fixes: 985b479267aa ("net/mlx5: fix GRE protocol type translation for Verbs") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Dariusz Sosnowski <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]> > --- > v2: > * Rebased. >
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

