Lines Matching refs:srq_context
167 struct mlx4_srq_context *srq_context; in mlx4_srq_alloc() local
187 srq_context = mailbox->buf; in mlx4_srq_alloc()
188 srq_context->state_logsize_srqn = cpu_to_be32((ilog2(srq->max) << 24) | in mlx4_srq_alloc()
190 srq_context->logstride = srq->wqe_shift - 4; in mlx4_srq_alloc()
191 srq_context->xrcd = cpu_to_be16(xrcd); in mlx4_srq_alloc()
192 srq_context->pg_offset_cqn = cpu_to_be32(cqn & 0xffffff); in mlx4_srq_alloc()
193 srq_context->log_page_size = mtt->page_shift - MLX4_ICM_PAGE_SHIFT; in mlx4_srq_alloc()
196 srq_context->mtt_base_addr_h = mtt_addr >> 32; in mlx4_srq_alloc()
197 srq_context->mtt_base_addr_l = cpu_to_be32(mtt_addr & 0xffffffff); in mlx4_srq_alloc()
198 srq_context->pd = cpu_to_be32(pdn); in mlx4_srq_alloc()
199 srq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_srq_alloc()
252 struct mlx4_srq_context *srq_context; in mlx4_srq_query() local
259 srq_context = mailbox->buf; in mlx4_srq_query()
264 *limit_watermark = be16_to_cpu(srq_context->limit_watermark); in mlx4_srq_query()