Searched refs:wqe_shift (Results 1 – 6 of 6) sorted by relevance
77 return srq->queue.direct.buf + (n << srq->wqe_shift); in get_wqe()79 return srq->queue.page_list[(n << srq->wqe_shift) >> PAGE_SHIFT].buf + in get_wqe()80 ((n << srq->wqe_shift) & (PAGE_SIZE - 1)); in get_wqe()108 context->wqe_base_ds = cpu_to_be64(1 << (srq->wqe_shift - 4)); in mthca_tavor_init_srq_context()139 context->logstride_usrpage = cpu_to_be32((srq->wqe_shift - 4) << 29); in mthca_arbel_init_srq_context()149 mthca_buf_free(dev, srq->max << srq->wqe_shift, &srq->queue, in mthca_free_srq_buf()169 err = mthca_buf_alloc(dev, srq->max << srq->wqe_shift, in mthca_alloc_srq_buf()189 next->nda_op = htonl(((i + 1) << srq->wqe_shift) | 1); in mthca_alloc_srq_buf()196 (void *) scatter < wqe + (1 << srq->wqe_shift); in mthca_alloc_srq_buf()235 srq->wqe_shift = ilog2(ds); in mthca_alloc_srq()[all …]
211 return qp->queue.direct.buf + (n << qp->rq.wqe_shift); in get_recv_wqe()213 return qp->queue.page_list[(n << qp->rq.wqe_shift) >> PAGE_SHIFT].buf + in get_recv_wqe()214 ((n << qp->rq.wqe_shift) & (PAGE_SIZE - 1)); in get_recv_wqe()221 (n << qp->sq.wqe_shift); in get_send_wqe()224 (n << qp->sq.wqe_shift)) >> in get_send_wqe()226 ((qp->send_wqe_offset + (n << qp->sq.wqe_shift)) & in get_send_wqe()617 qp_context->rq_size_stride |= qp->rq.wqe_shift - 4; in __mthca_modify_qp()621 qp_context->sq_size_stride |= qp->sq.wqe_shift - 4; in __mthca_modify_qp()971 1 << qp->sq.wqe_shift)); in mthca_adjust_qp_caps()978 (min(dev->limits.max_desc_sz, 1 << qp->rq.wqe_shift) - in mthca_adjust_qp_caps()[all …]
211 int wqe_shift; member237 int wqe_shift; member
536 >> wq->wqe_shift); in mthca_poll_one()543 wqe_index = wqe >> srq->wqe_shift; in mthca_poll_one()550 wqe_index = wqe >> wq->wqe_shift; in mthca_poll_one()
19 u32 wqe_shift; member47 int wqe_shift; member
770 int wqe_shift; member