Home
last modified time | relevance | path

Searched refs:mlx5_fs_pool (Results 1 – 7 of 7) sorted by relevance

/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dfs_hws_pools.h47 struct mlx5_fs_pool *mh_pool;
52 int mlx5_fs_hws_pr_pool_init(struct mlx5_fs_pool *pr_pool,
55 void mlx5_fs_hws_pr_pool_cleanup(struct mlx5_fs_pool *pr_pool);
57 struct mlx5_fs_hws_pr *mlx5_fs_hws_pr_pool_acquire_pr(struct mlx5_fs_pool *pr_pool);
58 void mlx5_fs_hws_pr_pool_release_pr(struct mlx5_fs_pool *pr_pool,
61 int mlx5_fs_hws_mh_pool_init(struct mlx5_fs_pool *fs_hws_mh_pool,
64 void mlx5_fs_hws_mh_pool_cleanup(struct mlx5_fs_pool *fs_hws_mh_pool);
65 struct mlx5_fs_hws_mh *mlx5_fs_hws_mh_pool_acquire_mh(struct mlx5_fs_pool *mh_pool);
66 void mlx5_fs_hws_mh_pool_release_mh(struct mlx5_fs_pool *mh_pool,
68 bool mlx5_fs_hws_mh_pool_match(struct mlx5_fs_pool *mh_pool,
Dfs_hws_pools.c163 static void mlx5_hws_pool_update_threshold(struct mlx5_fs_pool *hws_pool) in mlx5_hws_pool_update_threshold()
175 int mlx5_fs_hws_pr_pool_init(struct mlx5_fs_pool *pr_pool, in mlx5_fs_hws_pr_pool_init()
196 void mlx5_fs_hws_pr_pool_cleanup(struct mlx5_fs_pool *pr_pool) in mlx5_fs_hws_pr_pool_cleanup()
208 mlx5_fs_hws_pr_pool_acquire_pr(struct mlx5_fs_pool *pr_pool) in mlx5_fs_hws_pr_pool_acquire_pr()
222 void mlx5_fs_hws_pr_pool_release_pr(struct mlx5_fs_pool *pr_pool, in mlx5_fs_hws_pr_pool_release_pr()
324 int mlx5_fs_hws_mh_pool_init(struct mlx5_fs_pool *fs_hws_mh_pool, in mlx5_fs_hws_mh_pool_init()
344 void mlx5_fs_hws_mh_pool_cleanup(struct mlx5_fs_pool *fs_hws_mh_pool) in mlx5_fs_hws_mh_pool_cleanup()
357 mlx5_fs_hws_mh_pool_acquire_mh(struct mlx5_fs_pool *mh_pool) in mlx5_fs_hws_mh_pool_acquire_mh()
371 void mlx5_fs_hws_mh_pool_release_mh(struct mlx5_fs_pool *mh_pool, in mlx5_fs_hws_mh_pool_release_mh()
384 bool mlx5_fs_hws_mh_pool_match(struct mlx5_fs_pool *mh_pool, in mlx5_fs_hws_mh_pool_match()
Dfs_hws.h17 struct mlx5_fs_pool insert_hdr_pool;
18 struct mlx5_fs_pool dl3tnltol2_pool;
39 struct mlx5_fs_pool *fs_pool;
Dfs_hws.c17 mlx5_fs_destroy_pr_pool(struct mlx5_fs_pool *pool, struct xarray *pr_pools,
20 mlx5_fs_destroy_mh_pool(struct mlx5_fs_pool *pool, struct xarray *mh_pools,
92 struct mlx5_fs_pool *pool; in mlx5_fs_cleanup_hws_actions_pool()
1028 static struct mlx5_fs_pool *
1032 struct mlx5_fs_pool *pr_pool; in mlx5_fs_get_pr_encap_pool()
1059 mlx5_fs_destroy_pr_pool(struct mlx5_fs_pool *pool, struct xarray *pr_pools, in mlx5_fs_destroy_pr_pool()
1077 struct mlx5_fs_pool *pr_pool = NULL; in mlx5_cmd_hws_packet_reformat_alloc()
1170 struct mlx5_fs_pool *pr_pool; in mlx5_cmd_hws_packet_reformat_dealloc()
1213 static struct mlx5_fs_pool *
1218 struct mlx5_fs_pool *pool; in mlx5_fs_create_mh_pool()
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_pool.h20 struct mlx5_fs_pool;
26 void (*update_threshold)(struct mlx5_fs_pool *pool);
29 struct mlx5_fs_pool { struct
47 void mlx5_fs_pool_init(struct mlx5_fs_pool *pool, struct mlx5_core_dev *dev, argument
49 void mlx5_fs_pool_cleanup(struct mlx5_fs_pool *pool);
50 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,
Dfs_pool.c58 void mlx5_fs_pool_init(struct mlx5_fs_pool *pool, struct mlx5_core_dev *dev, in mlx5_fs_pool_init()
75 void mlx5_fs_pool_cleanup(struct mlx5_fs_pool *pool) in mlx5_fs_pool_cleanup()
90 mlx5_fs_pool_alloc_new_bulk(struct mlx5_fs_pool *fs_pool) in mlx5_fs_pool_alloc_new_bulk()
103 mlx5_fs_pool_free_bulk(struct mlx5_fs_pool *fs_pool, struct mlx5_fs_bulk *bulk) in mlx5_fs_pool_free_bulk()
131 int mlx5_fs_pool_acquire_index(struct mlx5_fs_pool *fs_pool, in mlx5_fs_pool_acquire_index()
164 int mlx5_fs_pool_release_index(struct mlx5_fs_pool *fs_pool, in mlx5_fs_pool_release_index()
Dfs_counters.c57 struct mlx5_fs_pool fc_pool;
60 static void mlx5_fc_pool_init(struct mlx5_fs_pool *fc_pool, struct mlx5_core_dev *dev);
61 static void mlx5_fc_pool_cleanup(struct mlx5_fs_pool *fc_pool);
62 static struct mlx5_fc *mlx5_fc_pool_acquire_counter(struct mlx5_fs_pool *fc_pool);
63 static void mlx5_fc_pool_release_counter(struct mlx5_fs_pool *fc_pool, struct mlx5_fc *fc);
484 static void mlx5_fc_pool_update_threshold(struct mlx5_fs_pool *fc_pool) in mlx5_fc_pool_update_threshold()
499 mlx5_fc_pool_init(struct mlx5_fs_pool *fc_pool, struct mlx5_core_dev *dev) in mlx5_fc_pool_init()
504 static void mlx5_fc_pool_cleanup(struct mlx5_fs_pool *fc_pool) in mlx5_fc_pool_cleanup()
510 mlx5_fc_pool_acquire_counter(struct mlx5_fs_pool *fc_pool) in mlx5_fc_pool_acquire_counter()
524 mlx5_fc_pool_release_counter(struct mlx5_fs_pool *fc_pool, struct mlx5_fc *fc) in mlx5_fc_pool_release_counter()