Lines Matching refs:wqe
338 struct ipath_swqe *wqe; in ipath_post_one_send() local
397 wqe = get_swqe_ptr(qp, qp->s_head); in ipath_post_one_send()
398 wqe->wr = *wr; in ipath_post_one_send()
399 wqe->length = 0; in ipath_post_one_send()
409 ok = ipath_lkey_ok(qp, &wqe->sg_list[j], in ipath_post_one_send()
413 wqe->length += length; in ipath_post_one_send()
416 wqe->wr.num_sge = j; in ipath_post_one_send()
420 if (wqe->length > 0x80000000U) in ipath_post_one_send()
422 } else if (wqe->length > to_idev(qp->ibqp.device)->dd->ipath_ibmtu) in ipath_post_one_send()
424 wqe->ssn = qp->s_ssn++; in ipath_post_one_send()
490 struct ipath_rwqe *wqe; in ipath_post_receive() local
511 wqe = get_rwqe_ptr(&qp->r_rq, wq->head); in ipath_post_receive()
512 wqe->wr_id = wr->wr_id; in ipath_post_receive()
513 wqe->num_sge = wr->num_sge; in ipath_post_receive()
515 wqe->sg_list[i] = wr->sg_list[i]; in ipath_post_receive()
1039 if (tx->wqe) in sdma_complete()
1040 ipath_send_complete(qp, tx->wqe, ibs); in sdma_complete()
1047 } else if (tx->wqe) { in sdma_complete()
1049 ipath_send_complete(qp, tx->wqe, ibs); in sdma_complete()
1139 tx->wqe = qp->s_wqe; in ipath_verbs_send_dma()