[PATCH 5/5] net/mlx5: fix GRE protocol type translation
Slava Ovsiienko
viacheslavo at nvidia.com
Mon Nov 15 08:53:15 CET 2021
> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Sunday, November 14, 2021 17:36
> To: dev at dpdk.org; Gregory Etelson <getelson at nvidia.com>
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; stable at dpdk.org; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Yongseok Koh <yskoh at mellanox.com>; Ori Kam
> <orika at nvidia.com>
> Subject: [PATCH 5/5] net/mlx5: fix GRE protocol type translation
>
> 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 without explicitly specifying
> GRE protocol type value in flow rules, protocol type value.
>
> Cc: stable at dpdk.org
>
> Fixes: fc2c498ccb94 ("net/mlx5: add Direct Verbs translate items")
>
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
More information about the stable
mailing list