Home
last modified time | relevance | path

Searched refs:hairpin_tbl_lock (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dfs.h20 struct mutex hairpin_tbl_lock; /* protects hairpin_tbl */ member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c717 if (!refcount_dec_and_mutex_lock(&hpe->refcnt, &priv->fs.tc.hairpin_tbl_lock)) in mlx5e_hairpin_put()
720 mutex_unlock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_hairpin_put()
799 mutex_lock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_hairpin_flow_add()
802 mutex_unlock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_hairpin_flow_add()
814 mutex_unlock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_hairpin_flow_add()
828 mutex_unlock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_hairpin_flow_add()
4049 mutex_lock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_tc_hairpin_update_dead_peer()
4053 mutex_unlock(&priv->fs.tc.hairpin_tbl_lock); in mlx5e_tc_hairpin_update_dead_peer()
4099 mutex_init(&tc->hairpin_tbl_lock); in mlx5e_tc_nic_init()
4132 mutex_destroy(&tc->hairpin_tbl_lock); in mlx5e_tc_nic_cleanup()