Searched refs:encap_tbl_lock (Results 1 – 4 of 4) sorted by relevance
421 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_tc_update_neigh_used_value()438 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_tc_update_neigh_used_value()496 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put()500 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_encap_put()509 lockdep_assert_held(&esw->offloads.encap_tbl_lock); in mlx5e_encap_put_locked()553 mutex_lock(&esw->offloads.encap_tbl_lock); in mlx5e_detach_encap()557 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_detach_encap()562 mutex_unlock(&esw->offloads.encap_tbl_lock); in mlx5e_detach_encap()842 lockdep_assert_held(&esw->offloads.encap_tbl_lock); in mlx5e_attach_encap()1048 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()
284 struct mutex encap_tbl_lock; /* protects encap_tbl */ member
1886 mutex_init(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_init()1943 mutex_destroy(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_cleanup()