[PATCH v2] net/mlx5: fix MPLS/GRE Verbs spec ordering
    Raslan Darawsheh 
    rasland at nvidia.com
       
    Mon Mar  7 21:54:25 CET 2022
    
    
  
Hi,
> -----Original Message-----
> From: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Sent: Wednesday, March 2, 2022 7:07 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Gregory Etelson <getelson at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at 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: getelson at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
> v2:
> * Rebased.
> 
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
    
    
More information about the dev
mailing list