Searched refs:encap_tbl_lock (Results 1 – 4 of 4) sorted by relevance
412 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_tc_update_neigh_used_value()429 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_tc_update_neigh_used_value()487 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put()491 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_encap_put()500 lockdep_assert_held(&esw->offloads.encap_tbl_lock); in mlx5e_encap_put_locked()544 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_detach_encap()548 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_detach_encap()553 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_detach_encap()833 lockdep_assert_held(&esw->offloads.encap_tbl_lock); in mlx5e_attach_encap()1039 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_tc_tun_encap_dests_set()[all …]
101 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_rep_update_flows()127 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_rep_update_flows()
287 struct mutex encap_tbl_lock; /* protects encap_tbl */ member
1878 mutex_init(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_init()1935 mutex_destroy(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_cleanup()