diff options
author | Vlad Buslov <[email protected]> | 2019-08-02 22:21:56 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2019-08-09 14:54:10 -0700 |
commit | 61086f391044fd587af9d70a9b8f6f800dd474ba (patch) | |
tree | 36d6585b6e191db6f64be8682b7f3a4c5ef5d6b6 /tools/perf/scripts/python/stackcollapse.py | |
parent | 948993f2beebbdc1c9d926cfdad9827cf6bb67c0 (diff) |
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 <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions