Home
last modified time | relevance | path

Searched refs:ptrn_id (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_pat_arg.c195 u32 ptrn_id) in mlx5hws_pat_find_cached_pattern_by_id() argument
200 if (cached_pattern->mh_data.pattern_id == ptrn_id) in mlx5hws_pat_find_cached_pattern_by_id()
216 void mlx5hws_pat_put_pattern(struct mlx5hws_context *ctx, u32 ptrn_id) in mlx5hws_pat_put_pattern() argument
222 cached_pattern = mlx5hws_pat_find_cached_pattern_by_id(cache, ptrn_id); in mlx5hws_pat_put_pattern()
225 pr_warn("HWS: pattern ID %d is not found\n", ptrn_id); in mlx5hws_pat_put_pattern()
233 mlx5hws_cmd_header_modify_pattern_destroy(ctx->mdev, ptrn_id); in mlx5hws_pat_put_pattern()
245 u32 ptrn_id = 0; in mlx5hws_pat_get_pattern() local
261 &ptrn_id); in mlx5hws_pat_get_pattern()
268 ptrn_id, in mlx5hws_pat_get_pattern()
278 *pattern_id = ptrn_id; in mlx5hws_pat_get_pattern()
H A Dmlx5hws_pat_arg.h73 u32 *ptrn_id);
76 u32 ptrn_id);
H A Dmlx5hws_cmd.h308 u32 *ptrn_id);
311 u32 ptrn_id);
H A Dmlx5hws_cmd.c661 u32 *ptrn_id) in mlx5hws_cmd_header_modify_pattern_create() argument
708 *ptrn_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_header_modify_pattern_create()
714 u32 ptrn_id) in mlx5hws_cmd_header_modify_pattern_destroy() argument
716 hws_cmd_general_obj_destroy(mdev, MLX5_OBJ_TYPE_MODIFY_HDR_PATTERN, ptrn_id); in mlx5hws_cmd_header_modify_pattern_destroy()