> -----Original Message-----
> From: Li Zhang <[email protected]>
> Sent: Tuesday, March 16, 2021 14:05
> To: [email protected]; Ori Kam <[email protected]>; Slava Ovsiienko
> <[email protected]>; Matan Azrad <[email protected]>; Suanming
> Mou <[email protected]>
> Cc: NBU-Contact-Thomas Monjalon <[email protected]>; Raslan
> Darawsheh <[email protected]>; [email protected]
> Subject: [PATCH v1 1/1] net/mlx5: fix port id / push VLAN actions index
> incorrect
>
> When using port id or push VLAN action index to find the action in cache, it
> will fail to find actions.
> The root cause is the index is not saved in cache when creating the port id
> action or push vlan action.
> To fix these issues, update the index in cache when creating.
>
> Fixes: 0fd5f82aaa0 ("net/mlx5: make port ID action cache thread safe")
> Fixes: 3422af2af2e ("net/mlx5: make push VLAN action cache thread safe")
> Cc: [email protected]
>
> Signed-off-by: Li Zhang <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>