#include "dr_types.h"
#define DR_ICM_MODIFY_HDR_GRANULARITY_4K …
enum dr_arg_chunk_size { … };
struct dr_arg_pool { … };
struct mlx5dr_arg_mgr { … };
static int dr_arg_pool_alloc_objs(struct dr_arg_pool *pool)
{ … }
static struct mlx5dr_arg_obj *dr_arg_pool_get_arg_obj(struct dr_arg_pool *pool)
{ … }
static void dr_arg_pool_put_arg_obj(struct dr_arg_pool *pool,
struct mlx5dr_arg_obj *arg_obj)
{ … }
static struct dr_arg_pool *dr_arg_pool_create(struct mlx5dr_domain *dmn,
enum dr_arg_chunk_size chunk_size)
{ … }
static void dr_arg_pool_destroy(struct dr_arg_pool *pool)
{ … }
static enum dr_arg_chunk_size dr_arg_get_chunk_size(u16 num_of_actions)
{ … }
u32 mlx5dr_arg_get_obj_id(struct mlx5dr_arg_obj *arg_obj)
{ … }
struct mlx5dr_arg_obj *mlx5dr_arg_get_obj(struct mlx5dr_arg_mgr *mgr,
u16 num_of_actions,
u8 *data)
{ … }
void mlx5dr_arg_put_obj(struct mlx5dr_arg_mgr *mgr,
struct mlx5dr_arg_obj *arg_obj)
{ … }
struct mlx5dr_arg_mgr*
mlx5dr_arg_mgr_create(struct mlx5dr_domain *dmn)
{ … }
void mlx5dr_arg_mgr_destroy(struct mlx5dr_arg_mgr *mgr)
{ … }