Hi,

> -----Original Message-----
> From: Shun Hao <[email protected]>
> Sent: Wednesday, November 9, 2022 9:53 AM
> To: Slava Ovsiienko <[email protected]>; Matan Azrad
> <[email protected]>; Ori Kam <[email protected]>; Jiawei(Jonny) Wang
> <[email protected]>
> Cc: [email protected]; Raslan Darawsheh <[email protected]>;
> [email protected]
> Subject: [PATCH] net/mlx5: fix assert when creating meter policy
> 
> When creating meter policy rules, it's possible to use flow items
> translation to add src port match criteria. Currently the items
> translation process needs to get thread workspace to store vport
> metadata tag, but in policy creation, the thread workspace was not
> initialized so it will cause assert failure.
> 
> This patch adds initialization of thread-local workspace when creating
> meter policy rules to avoid that assert.
> 
> Fixes: 65c86202 ("net/mlx5: fix flow source port checking in sample flow
> rule")
> CC: [email protected]
> 
> Signed-off-by: Shun Hao <[email protected]>
> Acked-by: Matan Azrad <[email protected]>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to