> -----Original Message-----
> From: Gregory Etelson <getel...@nvidia.com>
> Sent: Sunday, November 14, 2021 17:36
> To: dev@dpdk.org; Gregory Etelson <getel...@nvidia.com>
> Cc: Matan Azrad <ma...@nvidia.com>; Raslan Darawsheh
> <rasl...@nvidia.com>; sta...@dpdk.org; Slava Ovsiienko
> <viachesl...@nvidia.com>; Yongseok Koh <ys...@mellanox.com>; Ori Kam
> <or...@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: sta...@dpdk.org
>
> Fixes: fc2c498ccb94 ("net/mlx5: add Direct Verbs translate items")
>
> Signed-off-by: Gregory Etelson <getel...@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>