Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Dpat_arg.c194 u32 ptrn_id) in mlx5hws_pat_find_cached_pattern_by_id() argument
199 if (cached_pattern->mh_data.pattern_id == ptrn_id) in mlx5hws_pat_find_cached_pattern_by_id()
215 void mlx5hws_pat_put_pattern(struct mlx5hws_context *ctx, u32 ptrn_id) in mlx5hws_pat_put_pattern() argument
221 cached_pattern = mlx5hws_pat_find_cached_pattern_by_id(cache, ptrn_id); in mlx5hws_pat_put_pattern()
224 pr_warn("HWS: pattern ID %d is not found\n", ptrn_id); in mlx5hws_pat_put_pattern()
232 mlx5hws_cmd_header_modify_pattern_destroy(ctx->mdev, ptrn_id); in mlx5hws_pat_put_pattern()
244 u32 ptrn_id = 0; in mlx5hws_pat_get_pattern() local
260 &ptrn_id); in mlx5hws_pat_get_pattern()
267 ptrn_id, in mlx5hws_pat_get_pattern()
277 *pattern_id = ptrn_id; in mlx5hws_pat_get_pattern()
A Dpat_arg.h73 u32 *ptrn_id);
76 u32 ptrn_id);
A Dcmd.h304 u32 *ptrn_id);
307 u32 ptrn_id);
A Dcmd.c660 u32 *ptrn_id) in mlx5hws_cmd_header_modify_pattern_create() argument
707 *ptrn_id = MLX5_GET(general_obj_out_cmd_hdr, out, obj_id); in mlx5hws_cmd_header_modify_pattern_create()
713 u32 ptrn_id) in mlx5hws_cmd_header_modify_pattern_destroy() argument
715 hws_cmd_general_obj_destroy(mdev, MLX5_OBJ_TYPE_MODIFY_HDR_PATTERN, ptrn_id); in mlx5hws_cmd_header_modify_pattern_destroy()

Completed in 11 milliseconds