diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-08-02 22:21:56 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-10 00:54:10 +0300 |
commit | 61086f391044fd587af9d70a9b8f6f800dd474ba (patch) | |
tree | 36d6585b6e191db6f64be8682b7f3a4c5ef5d6b6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 948993f2beebbdc1c9d926cfdad9827cf6bb67c0 (diff) | |
download | linux-61086f391044fd587af9d70a9b8f6f800dd474ba.tar.xz |
net/mlx5e: Protect encap hash table with mutex
To remove dependency on rtnl lock, protect encap hash table from concurrent
modifications with new "encap_tbl_lock" mutex. Use the mutex to protect
internal encap entry state from concurrent modification. This is necessary
because a flow can be attached to multiple encap entries simultaneously,
which significantly complicates using finer grained per-entry lock.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions