Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c412 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 …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h287 struct mutex encap_tbl_lock; /* protects encap_tbl */ member
Deswitch.c1878 mutex_init(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_init()
1935 mutex_destroy(&esw->offloads.encap_tbl_lock); in mlx5_eswitch_cleanup()