Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H 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()
[all …]
H A Dcmd.h305 u32 *ptrn_id);
308 u32 ptrn_id);
H A Dcmd.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()