Lines Matching refs:ibqp

33 	struct hfi1_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num);  in ud_loopback()
47 qp = rvt_lookup_qpn(ib_to_rvt(sqp->ibqp.device), &ibp->rvp, in ud_loopback()
55 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
56 IB_QPT_UD : sqp->ibqp.qp_type; in ud_loopback()
57 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in ud_loopback()
58 IB_QPT_UD : qp->ibqp.qp_type; in ud_loopback()
69 if (qp->ibqp.qp_num > 1) { in ud_loopback()
82 sqp->ibqp.qp_num, qp->ibqp.qp_num, in ud_loopback()
93 if (qp->ibqp.qp_num) { in ud_loopback()
131 if (qp->ibqp.qp_num == 0) in ud_loopback()
196 wc.qp = &qp->ibqp; in ud_loopback()
197 wc.src_qp = sqp->ibqp.qp_num; in ud_loopback()
198 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) { in ud_loopback()
199 if (sqp->ibqp.qp_type == IB_QPT_GSI || in ud_loopback()
200 sqp->ibqp.qp_type == IB_QPT_SMI) in ud_loopback()
210 if (wc.slid == 0 && sqp->ibqp.qp_type == IB_QPT_GSI) in ud_loopback()
231 ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_make_bth_deth()
242 if (qp->ibqp.qp_type == IB_QPT_GSI || qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_bth_deth()
258 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in hfi1_make_bth_deth()
275 ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_make_ud_req_9B()
301 if (qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_make_ud_req_9B()
342 u32 src_qp = qp->ibqp.qp_num; in hfi1_make_ud_req_16B()
347 ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_make_ud_req_16B()
397 if (qp->ibqp.qp_type == IB_QPT_SMI) in hfi1_make_ud_req_16B()
475 ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_make_ud_req()
485 (qp->ibqp.qp_type == IB_QPT_GSI))))) { in hfi1_make_ud_req()
870 if (qp->ibqp.qp_num) { in hfi1_ud_rcv()
873 if (qp->ibqp.qp_num > 1) { in hfi1_ud_rcv()
883 src_qp, qp->ibqp.qp_num, in hfi1_ud_rcv()
898 if (unlikely(qp->ibqp.qp_num == 1 && in hfi1_ud_rcv()
920 if (qp->ibqp.qp_num > 1 && in hfi1_ud_rcv()
951 if (qp->ibqp.qp_num == 0) in hfi1_ud_rcv()
988 wc.qp = &qp->ibqp; in hfi1_ud_rcv()
991 if (qp->ibqp.qp_type == IB_QPT_GSI || in hfi1_ud_rcv()
992 qp->ibqp.qp_type == IB_QPT_SMI) { in hfi1_ud_rcv()
998 qp->ibqp.qp_type); in hfi1_ud_rcv()