Lines Matching refs:wqe
340 struct qib_swqe *wqe; in qib_post_one_send() local
399 wqe = get_swqe_ptr(qp, qp->s_head); in qib_post_one_send()
400 wqe->wr = *wr; in qib_post_one_send()
401 wqe->length = 0; in qib_post_one_send()
412 ok = qib_lkey_ok(rkt, pd, &wqe->sg_list[j], in qib_post_one_send()
416 wqe->length += length; in qib_post_one_send()
419 wqe->wr.num_sge = j; in qib_post_one_send()
423 if (wqe->length > 0x80000000U) in qib_post_one_send()
425 } else if (wqe->length > (dd_from_ibdev(qp->ibqp.device)->pport + in qib_post_one_send()
430 wqe->ssn = qp->s_ssn++; in qib_post_one_send()
438 struct qib_sge *sge = &wqe->sg_list[--j]; in qib_post_one_send()
510 struct qib_rwqe *wqe; in qib_post_receive() local
531 wqe = get_rwqe_ptr(&qp->r_rq, wq->head); in qib_post_receive()
532 wqe->wr_id = wr->wr_id; in qib_post_receive()
533 wqe->num_sge = wr->num_sge; in qib_post_receive()
535 wqe->sg_list[i] = wr->sg_list[i]; in qib_post_receive()
1085 if (tx->wqe) in sdma_complete()
1086 qib_send_complete(qp, tx->wqe, IB_WC_SUCCESS); in sdma_complete()
1165 tx->wqe = qp->s_wqe; in qib_verbs_send_dma()