Lines Matching refs:umr
161 static void set_reg_umr_seg(struct mlx5_wqe_umr_ctrl_seg *umr, in set_reg_umr_seg() argument
166 memset(umr, 0, sizeof(*umr)); in set_reg_umr_seg()
168 umr->flags = flags; in set_reg_umr_seg()
169 umr->xlt_octowords = cpu_to_be16(mlx5r_umr_get_xlt_octo(size)); in set_reg_umr_seg()
170 umr->mkey_mask = frwr_mkey_mask(atomic); in set_reg_umr_seg()
173 static void set_linv_umr_seg(struct mlx5_wqe_umr_ctrl_seg *umr) in set_linv_umr_seg() argument
175 memset(umr, 0, sizeof(*umr)); in set_linv_umr_seg()
176 umr->mkey_mask = cpu_to_be64(MLX5_MKEY_MASK_FREE); in set_linv_umr_seg()
177 umr->flags = MLX5_UMR_INLINE; in set_linv_umr_seg()
546 static void set_sig_umr_segment(struct mlx5_wqe_umr_ctrl_seg *umr, in set_sig_umr_segment() argument
549 memset(umr, 0, sizeof(*umr)); in set_sig_umr_segment()
551 umr->flags = MLX5_FLAGS_INLINE | MLX5_FLAGS_CHECK_FREE; in set_sig_umr_segment()
552 umr->xlt_octowords = cpu_to_be16(mlx5r_umr_get_xlt_octo(size)); in set_sig_umr_segment()
553 umr->bsf_octowords = cpu_to_be16(MLX5_MKEY_BSF_OCTO_SIZE); in set_sig_umr_segment()
554 umr->mkey_mask = sig_mkey_mask(); in set_sig_umr_segment()