[PATCH] net/mlx5: fix GRE item translation in Verbs API

Raslan Darawsheh rasland at nvidia.com
Wed Mar 2 17:31:14 CET 2022


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Monday, February 28, 2022 11:53 AM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org; Slava Ovsiienko <viacheslavo at nvidia.com>
> Subject: [PATCH] net/mlx5: fix GRE item translation in Verbs API
> 
> GRE item translation must set inner protocol value.
> For that reason the item is not translated inplace when PMD translation
> iterates over flow items, but moved after the loop, when all inner types are
> discovered.
> 
> If PMD does not translate GRE flow item inside the translation loop it must
> save the GRE item for access outside the loop.
> 
> Cc: stable at dpdk.org
> 
> Fixes: 985b479267aa ("net/mlx5: fix GRE protocol type translation for Verbs")
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list