Home
last modified time | relevance | path

Searched refs:encap_tbl_lock (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c421 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dtc.c101 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h284 struct mutex encap_tbl_lock; /* protects encap_tbl */ member
H A Deswitch.c1886 mutex_init(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_init()
1943 mutex_destroy(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_cleanup()