Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_pool.c94 mlx5_fs_pool_alloc_new_bulk(struct mlx5_fs_pool *fs_pool) in mlx5_fs_pool_alloc_new_bulk() argument
96 struct mlx5_core_dev *dev = fs_pool->dev; in mlx5_fs_pool_alloc_new_bulk()
99 new_bulk = fs_pool->ops->bulk_create(dev, fs_pool->pool_ctx); in mlx5_fs_pool_alloc_new_bulk()
101 fs_pool->available_units += new_bulk->bulk_len; in mlx5_fs_pool_alloc_new_bulk()
102 fs_pool->ops->update_threshold(fs_pool); in mlx5_fs_pool_alloc_new_bulk()
107 mlx5_fs_pool_free_bulk(struct mlx5_fs_pool *fs_pool, struct mlx5_fs_bulk *bulk) in mlx5_fs_pool_free_bulk() argument
109 struct mlx5_core_dev *dev = fs_pool->dev; in mlx5_fs_pool_free_bulk()
111 fs_pool->available_units -= bulk->bulk_len; in mlx5_fs_pool_free_bulk()
112 fs_pool->ops->bulk_destroy(dev, bulk); in mlx5_fs_pool_free_bulk()
113 fs_pool->ops->update_threshold(fs_pool); in mlx5_fs_pool_free_bulk()
[all …]
H A Dfs_pool.h51 int mlx5_fs_pool_acquire_index(struct mlx5_fs_pool *fs_pool,
53 int mlx5_fs_pool_release_index(struct mlx5_fs_pool *fs_pool,
H A DMakefile20 fw_reset.o qos.o lib/tout.o lib/aso.o wc.o fs_pool.o lib/nv_param.o
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dfs_hws.h41 struct mlx5_fs_pool *fs_pool; member
H A Dfs_hws.c1501 modify_hdr->fs_hws_action.fs_pool = pool; in mlx5_cmd_hws_modify_header_alloc()
1521 if (!modify_hdr->fs_hws_action.fs_pool || !modify_hdr->fs_hws_action.mh_data) { in mlx5_cmd_hws_modify_header_dealloc()
1528 pool = modify_hdr->fs_hws_action.fs_pool; in mlx5_cmd_hws_modify_header_dealloc()