[dpdk-dev] [PATCH v2] net/mlx5: fix meter cleaning in stop operation

Thomas Monjalon thomas at monjalon.net
Thu May 13 15:01:34 CEST 2021


13/05/2021 10:35, Li Zhang:
> A meter may handle Rx queue reference in his sub-policies.
> In stop operation, all the Rx queues are released.
> 
> Wrongly, the meter reference was not released before
> destroying the Rx queues what cause an error in stop.
> 
> Release the Rx queues meter references in stop operation.
> 
> Fixes: fc6ce56bba ("net/mlx5: prepare sub-policy for flow with meter")
> 
> Signed-off-by: Li Zhang <lizh at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Applied in next-net-mlx, thanks.




More information about the dev mailing list