[PATCH] net/mlx5: fix GRE protocol type translation for VERB API

Raslan Darawsheh rasland at nvidia.com
Sun Jan 9 12:56:51 CET 2022


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Thursday, December 23, 2021 3:17 PM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; stable at dpdk.org; Matan Azrad
> <matan at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Yongseok
> Koh <yskoh at mellanox.com>; Ori Kam <orika at nvidia.com>
> Subject: [PATCH] net/mlx5: fix GRE protocol type translation for VERB API
> 
> When application creates several flows to match on GRE tunnel without
> explicitly specifying GRE protocol type value in flow rules, PMD will
> translate that to zero mask.
> RDMA-CORE cannot distinguish between different inner flow types and
> produces identical matchers for each zero mask.
> 
> The patch extracts inner header type from flow rule and forces it in
> GRE protocol type, if application did not specify any.
> 
> Cc: stable at dpdk.org
> 
> Fixes: 84c406e74524 ("net/mlx5: add flow translate function")
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list