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 tunnel hub list thread safe
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_flow.h
diff --git
a/drivers/net/mlx5/mlx5_flow.h
b/drivers/net/mlx5/mlx5_flow.h
index
99ce916
..
3105463
100644
(file)
--- a/
drivers/net/mlx5/mlx5_flow.h
+++ b/
drivers/net/mlx5/mlx5_flow.h
@@
-945,6
+945,7
@@
struct mlx5_flow_tunnel {
/** PMD tunnel related context */
struct mlx5_flow_tunnel_hub {
LIST_HEAD(, mlx5_flow_tunnel) tunnels;
+ rte_spinlock_t sl; /* Tunnel list spinlock. */
struct mlx5_hlist *groups; /** non tunnel groups */
};