[PATCH v1] net/mlx5: fix quit assert when no meter green action

Raslan Darawsheh rasland at nvidia.com
Wed May 11 12:11:20 CEST 2022


Hi,

> -----Original Message-----
> From: Shun Hao <shunh at nvidia.com>
> Sent: Thursday, April 14, 2022 10:55 AM
> To: Slava Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; Bing Zhao
> <bingz at nvidia.com>
> Cc: dev at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH v1] net/mlx5: fix quit assert when no meter green action
> 
> When a meter with RSS action being used, there might be several
> sub-flows using different sub-policies in the flow splitting stage.
> If there's no green action, there's an error that will always use the
> same sub-policy for all sub-flows, some resources will be
> overwritten and cannot be released, leading assert during port close.
> 
> This patch fixes this issue by checking both green and yellow queue
> index during getting a blank sub-policy, to avoid the incorrect
> resource overwrite.
> 
> Fixes: b38a12272b3a ("net/mlx5: split meter color policy handling")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Shun Hao <shunh at nvidia.com>
> Acked-by: Matan Azard <matan at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list