[PATCH 4/5] net/mlx5: fix GENEVE protocol type translation

Slava Ovsiienko viacheslavo at nvidia.com
Mon Nov 15 08:54:20 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>; Moti Haimovsky <motih at mellanox.com>
> Subject: [PATCH 4/5] net/mlx5: fix GENEVE protocol type translation
> 
> When application creates several flows to match on GENEVE tunnel without
> explicitly specifying GENEVE 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 GENEVE
> protocol type, if application did not specify any without explicitly specifying
> GENEVE protocol type value in flow rules, protocol type value.
> 
> Cc: stable at dpdk.org
> 
> Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item")
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>



More information about the dev mailing list