Searched refs:decap_tbl_lock (Results 1 – 3 of 3) sorted by relevance
1818 if (!refcount_dec_and_mutex_lock(&d->refcnt, &esw->offloads.decap_tbl_lock)) in mlx5e_decap_put()1821 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_decap_put()1858 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_detach_decap()1863 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_detach_decap()1867 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_detach_decap()3933 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()3936 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()3938 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()3957 mutex_unlock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()3968 mutex_lock(&esw->offloads.decap_tbl_lock); in mlx5e_attach_decap()[all …]
209 struct mutex decap_tbl_lock; /* protects decap_tbl */ member
1776 mutex_init(&esw->offloads.decap_tbl_lock); in mlx5_eswitch_init()1821 mutex_destroy(&esw->offloads.decap_tbl_lock); in mlx5_eswitch_cleanup()