Searched refs:mlx5_fs_pool (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | fs_hws_pools.h | 47 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,
|
| H A D | fs_hws_pools.c | 165 static void mlx5_hws_pool_update_threshold(struct mlx5_fs_pool *hws_pool) in mlx5_hws_pool_update_threshold() 177 int mlx5_fs_hws_pr_pool_init(struct mlx5_fs_pool *pr_pool, in mlx5_fs_hws_pr_pool_init() 198 void mlx5_fs_hws_pr_pool_cleanup(struct mlx5_fs_pool *pr_pool) in mlx5_fs_hws_pr_pool_cleanup() 210 mlx5_fs_hws_pr_pool_acquire_pr(struct mlx5_fs_pool *pr_pool) in mlx5_fs_hws_pr_pool_acquire_pr() 224 void mlx5_fs_hws_pr_pool_release_pr(struct mlx5_fs_pool *pr_pool, in mlx5_fs_hws_pr_pool_release_pr() 328 int mlx5_fs_hws_mh_pool_init(struct mlx5_fs_pool *fs_hws_mh_pool, in mlx5_fs_hws_mh_pool_init() 348 void mlx5_fs_hws_mh_pool_cleanup(struct mlx5_fs_pool *fs_hws_mh_pool) in mlx5_fs_hws_mh_pool_cleanup() 361 mlx5_fs_hws_mh_pool_acquire_mh(struct mlx5_fs_pool *mh_pool) in mlx5_fs_hws_mh_pool_acquire_mh() 375 void mlx5_fs_hws_mh_pool_release_mh(struct mlx5_fs_pool *mh_pool, in mlx5_fs_hws_mh_pool_release_mh() 388 bool mlx5_fs_hws_mh_pool_match(struct mlx5_fs_pool *mh_pool, in mlx5_fs_hws_mh_pool_match()
|
| H A D | fs_hws.h | 17 struct mlx5_fs_pool insert_hdr_pool; 18 struct mlx5_fs_pool dl3tnltol2_pool; 41 struct mlx5_fs_pool *fs_pool;
|
| H A D | fs_hws.c | 17 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, 95 struct mlx5_fs_pool *pool; in mlx5_fs_cleanup_hws_actions_pool() 1227 static struct mlx5_fs_pool * 1231 struct mlx5_fs_pool *pr_pool; in mlx5_fs_get_pr_encap_pool() 1258 mlx5_fs_destroy_pr_pool(struct mlx5_fs_pool *pool, struct xarray *pr_pools, in mlx5_fs_destroy_pr_pool() 1276 struct mlx5_fs_pool *pr_pool = NULL; in mlx5_cmd_hws_packet_reformat_alloc() 1370 struct mlx5_fs_pool *pr_pool; in mlx5_cmd_hws_packet_reformat_dealloc() 1422 static struct mlx5_fs_pool * 1427 struct mlx5_fs_pool *pool; in mlx5_fs_create_mh_pool() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_pool.h | 20 struct mlx5_fs_pool; 26 void (*update_threshold)(struct mlx5_fs_pool *pool); 29 struct mlx5_fs_pool { struct 48 void mlx5_fs_pool_init(struct mlx5_fs_pool *pool, struct mlx5_core_dev *dev, argument 50 void mlx5_fs_pool_cleanup(struct mlx5_fs_pool *pool); 51 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 D | fs_pool.c | 62 void mlx5_fs_pool_init(struct mlx5_fs_pool *pool, struct mlx5_core_dev *dev, in mlx5_fs_pool_init() 79 void mlx5_fs_pool_cleanup(struct mlx5_fs_pool *pool) in mlx5_fs_pool_cleanup() 94 mlx5_fs_pool_alloc_new_bulk(struct mlx5_fs_pool *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() 135 int mlx5_fs_pool_acquire_index(struct mlx5_fs_pool *fs_pool, in mlx5_fs_pool_acquire_index() 168 int mlx5_fs_pool_release_index(struct mlx5_fs_pool *fs_pool, in mlx5_fs_pool_release_index()
|
| H A D | fs_counters.c | 57 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); 507 static void mlx5_fc_pool_update_threshold(struct mlx5_fs_pool *fc_pool) in mlx5_fc_pool_update_threshold() 522 mlx5_fc_pool_init(struct mlx5_fs_pool *fc_pool, struct mlx5_core_dev *dev) in mlx5_fc_pool_init() 527 static void mlx5_fc_pool_cleanup(struct mlx5_fs_pool *fc_pool) in mlx5_fc_pool_cleanup() 533 mlx5_fc_pool_acquire_counter(struct mlx5_fs_pool *fc_pool) in mlx5_fc_pool_acquire_counter() 547 mlx5_fc_pool_release_counter(struct mlx5_fs_pool *fc_pool, struct mlx5_fc *fc) in mlx5_fc_pool_release_counter()
|