aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/drop_monitor.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-08-02 22:21:56 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-08-09 14:54:10 -0700
commit61086f391044fd587af9d70a9b8f6f800dd474ba (patch)
tree36d6585b6e191db6f64be8682b7f3a4c5ef5d6b6 /net/core/drop_monitor.c
parentnet/mlx5e: Extend encap entry with reference counter (diff)
downloadlinux-rng-61086f391044fd587af9d70a9b8f6f800dd474ba.tar.xz
linux-rng-61086f391044fd587af9d70a9b8f6f800dd474ba.zip
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 'net/core/drop_monitor.c')
0 files changed, 0 insertions, 0 deletions