Lines Matching refs:sqp
72 static void ud_loopback(struct rvt_qp *sqp, struct rvt_swqe *swqe) in ud_loopback() argument
74 struct hfi1_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num); in ud_loopback()
76 struct hfi1_qp_priv *priv = sqp->priv; in ud_loopback()
88 qp = rvt_lookup_qpn(ib_to_rvt(sqp->ibqp.device), &ibp->rvp, in ud_loopback()
96 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
97 IB_QPT_UD : sqp->ibqp.qp_type; in ud_loopback()
115 pkey = hfi1_get_pkey(ibp, sqp->s_pkey_index); in ud_loopback()
123 sqp->ibqp.qp_num, qp->ibqp.qp_num, in ud_loopback()
138 sqp->qkey : swqe->ud_wr.remote_qkey; in ud_loopback()
258 wc.src_qp = sqp->ibqp.qp_num; in ud_loopback()
260 if (sqp->ibqp.qp_type == IB_QPT_GSI || in ud_loopback()
261 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback()
264 wc.pkey_index = sqp->s_pkey_index; in ud_loopback()
271 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback()