[dpdk-stable] [PATCH] net/mlx5: fix meter policy creation error flow

Raslan Darawsheh rasland at nvidia.com
Wed Jun 9 15:08:53 CEST 2021


Hi,

> -----Original Message-----
> From: Li Zhang <lizh at nvidia.com>
> Sent: Wednesday, June 9, 2021 5:07 AM
> To: Ori Kam <orika at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>; NBU-
> Contact-Thomas Monjalon <thomas at monjalon.net>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Asaf Penso
> <asafp at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix meter policy creation error flow
> 
> When an error appears in the policy creation, the IDs mapping between the
> user policy ID to the driver policy ID is skipped.
> 
> Wrongly, the driver tried to clean the mapping in this case what caused an
> error.
> 
> Skip the clearance in this case.
> 
> Fixes: afb4aa4f122 ("net/mlx5: support meter policy operations")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Li Zhang <lizh 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