Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix flow actions index in cache
[ upstream commit d406aba ] 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: 0fd5f82 ("net/mlx5: make port ID action cache thread safe") Fixes: 3422af2 ("net/mlx5: make push VLAN action cache thread safe") Signed-off-by: Li Zhang <lizh@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
- Loading branch information