Hi, > -----Original Message----- > From: Dariusz Sosnowski <dsosnow...@nvidia.com> > Sent: Wednesday, March 2, 2022 7:07 PM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com>; Gregory Etelson <getel...@nvidia.com> > Cc: dev@dpdk.org; Raslan Darawsheh <rasl...@nvidia.com>; > sta...@dpdk.org > 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: getel...@nvidia.com > Cc: sta...@dpdk.org > > Signed-off-by: Dariusz Sosnowski <dsosnow...@nvidia.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com> > --- > v2: > * Rebased. >
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh