[dpdk-dev] [PATCH v1 1/1] net/mlx5: fix port id / push VLAN actions index incorrect

Slava Ovsiienko viacheslavo at nvidia.com
Tue Mar 16 13:21:25 CET 2021


> -----Original Message-----
> From: Li Zhang <lizh at nvidia.com>
> Sent: Tuesday, March 16, 2021 14:05
> To: dev at dpdk.org; Ori Kam <orika at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>; Suanming
> Mou <suanmingm at nvidia.com>
> Cc: NBU-Contact-Thomas Monjalon <thomas at monjalon.net>; Raslan
> Darawsheh <rasland at nvidia.com>; stable at dpdk.org
> 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: stable at dpdk.org
> 
> Signed-off-by: Li Zhang <lizh at nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>



More information about the dev mailing list