Searched refs:hws_pool (Results 1 – 3 of 3) sorted by relevance
27 struct mlx5_fs_hws_actions_pool *hws_pool = &fs_ctx->hws_pool; in mlx5_fs_init_hws_actions_pool() local34 if (!hws_pool->tag_action) in mlx5_fs_init_hws_actions_pool()37 if (!hws_pool->pop_vlan_action) in mlx5_fs_init_hws_actions_pool()43 if (!hws_pool->drop_action) in mlx5_fs_init_hws_actions_pool()46 hws_pool->decapl2_action = in mlx5_fs_init_hws_actions_pool()49 if (!hws_pool->decapl2_action) in mlx5_fs_init_hws_actions_pool()65 xa_init(&hws_pool->mh_pools); in mlx5_fs_init_hws_actions_pool()92 struct mlx5_fs_hws_actions_pool *hws_pool = &fs_ctx->hws_pool; in mlx5_fs_cleanup_hws_actions_pool() local1296 hws_pool = &fs_ctx->hws_pool; in mlx5_cmd_hws_packet_reformat_alloc()1378 struct mlx5_fs_hws_actions_pool *hws_pool = &ns->fs_hws_context.hws_pool; in mlx5_cmd_hws_packet_reformat_dealloc() local[all …]
163 static void mlx5_hws_pool_update_threshold(struct mlx5_fs_pool *hws_pool) in mlx5_hws_pool_update_threshold() argument165 hws_pool->threshold = min_t(int, MLX5_FS_HWS_POOL_MAX_THRESHOLD, in mlx5_hws_pool_update_threshold()166 hws_pool->used_units / MLX5_FS_HWS_POOL_USED_BUFF_RATIO); in mlx5_hws_pool_update_threshold()
31 struct mlx5_fs_hws_actions_pool hws_pool; member