[PATCH v1] net/mlx5: fix meter policy creation assert
Raslan Darawsheh
rasland at nvidia.com
Mon Mar 7 11:33:47 CET 2022
Hi,
> -----Original Message-----
> From: Shun Hao <shunh at nvidia.com>
> Sent: Wednesday, March 2, 2022 12:33 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; orika at nvidia.com ; thomas at monjalon.net ; Raja
> Zidane <rzidane at nvidia.com>
> Cc: dev at dpdk.org ; Raslan Darawsheh <rasland at nvidia.com>;
> stable at dpdk.org
> Subject: [PATCH v1] net/mlx5: fix meter policy creation assert
>
> The meter policy creation doesn't belong to RTE flow creation
> process, so thread workspace was not initialized and there will be
> assert error when using it.
>
> This patch removes the incorrect using of thread workspace in meter
> policy creation, and adds a flag in policy instead. When creating
> RTE flow, can use the flag to set the mark flag in thread workspace.
>
> Fixes: 082becbf1f35 ("net/mlx5: fix mark enabling for Rx")
> Cc: stable at dpdk.org
>
> Signed-off-by: Shun Hao <shunh 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