git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: make flow list thread safe
[dpdk.git]
/
drivers
/
net
/
mlx5
/
linux
/
mlx5_os.c
diff --git
a/drivers/net/mlx5/linux/mlx5_os.c
b/drivers/net/mlx5/linux/mlx5_os.c
index
0b59e74
..
a579dde
100644
(file)
--- a/
drivers/net/mlx5/linux/mlx5_os.c
+++ b/
drivers/net/mlx5/linux/mlx5_os.c
@@
-1358,6
+1358,7
@@
err_secondary:
MLX5_MAX_MAC_ADDRESSES);
priv->flows = 0;
priv->ctrl_flows = 0;
+ rte_spinlock_init(&priv->flow_list_lock);
TAILQ_INIT(&priv->flow_meters);
TAILQ_INIT(&priv->flow_meter_profiles);
/* Hint libmlx5 to use PMD allocator for data plane resources */