Home
last modified time | relevance | path

Searched refs:fs_pool (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_pool.c95 new_bulk = fs_pool->ops->bulk_create(dev, fs_pool->pool_ctx); in mlx5_fs_pool_alloc_new_bulk()
98 fs_pool->ops->update_threshold(fs_pool); in mlx5_fs_pool_alloc_new_bulk()
109 fs_pool->ops->update_threshold(fs_pool); in mlx5_fs_pool_free_bulk()
137 mutex_lock(&fs_pool->pool_lock); in mlx5_fs_pool_acquire_index()
156 fs_pool->available_units--; in mlx5_fs_pool_acquire_index()
157 fs_pool->used_units++; in mlx5_fs_pool_acquire_index()
160 mutex_unlock(&fs_pool->pool_lock); in mlx5_fs_pool_acquire_index()
171 mutex_lock(&fs_pool->pool_lock); in mlx5_fs_pool_release_index()
178 fs_pool->available_units++; in mlx5_fs_pool_release_index()
179 fs_pool->used_units--; in mlx5_fs_pool_release_index()
[all …]
A Dfs_pool.h50 int mlx5_fs_pool_acquire_index(struct mlx5_fs_pool *fs_pool,
52 int mlx5_fs_pool_release_index(struct mlx5_fs_pool *fs_pool,
A DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o wc.o fs_pool.o
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dfs_hws.h41 struct mlx5_fs_pool *fs_pool; member
A Dfs_hws.c1508 modify_hdr->fs_hws_action.fs_pool = pool; in mlx5_cmd_hws_modify_header_alloc()
1528 if (!modify_hdr->fs_hws_action.fs_pool || !modify_hdr->fs_hws_action.mh_data) { in mlx5_cmd_hws_modify_header_dealloc()
1535 pool = modify_hdr->fs_hws_action.fs_pool; in mlx5_cmd_hws_modify_header_dealloc()

Completed in 10 milliseconds