Lines Matching refs:swqe
51 static void qib_ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in qib_ud_loopback() argument
67 qp = rvt_lookup_qpn(rdi, &ibp->rvp, rvt_get_swqe_remote_qpn(swqe)); in qib_ud_loopback()
84 ah_attr = rvt_get_swqe_ah_attr(swqe); in qib_ud_loopback()
114 qkey = (int)rvt_get_swqe_remote_qkey(swqe) < 0 ? in qib_ud_loopback()
115 sqp->qkey : rvt_get_swqe_remote_qkey(swqe); in qib_ud_loopback()
124 length = swqe->length; in qib_ud_loopback()
128 if (swqe->wr.opcode == IB_WR_SEND_WITH_IMM) { in qib_ud_loopback()
130 wc.ex.imm_data = swqe->wr.ex.imm_data; in qib_ud_loopback()
171 ssge.sg_list = swqe->sg_list + 1; in qib_ud_loopback()
172 ssge.sge = *swqe->sg_list; in qib_ud_loopback()
173 ssge.num_sge = swqe->wr.num_sge; in qib_ud_loopback()
207 rvt_get_swqe_pkey_index(swqe) : 0; in qib_ud_loopback()
214 rvt_recv_cq(qp, &wc, swqe->wr.send_flags & IB_SEND_SOLICITED); in qib_ud_loopback()