Lines Matching refs:ibqp
53 struct qib_ibport *ibp = to_iport(sqp->ibqp.device, sqp->port_num); in qib_ud_loopback()
73 sqptype = sqp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback()
74 IB_QPT_UD : sqp->ibqp.qp_type; in qib_ud_loopback()
75 dqptype = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback()
76 IB_QPT_UD : qp->ibqp.qp_type; in qib_ud_loopback()
87 if (qp->ibqp.qp_num > 1) { in qib_ud_loopback()
99 sqp->ibqp.qp_num, qp->ibqp.qp_num, in qib_ud_loopback()
111 if (qp->ibqp.qp_num) { in qib_ud_loopback()
149 if (qp->ibqp.qp_num == 0) in qib_ud_loopback()
204 wc.qp = &qp->ibqp; in qib_ud_loopback()
205 wc.src_qp = sqp->ibqp.qp_num; in qib_ud_loopback()
206 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_loopback()
273 ibp = to_iport(qp->ibqp.device, qp->port_num); in qib_make_ud_req()
346 if (qp->ibqp.qp_type == IB_QPT_SMI) in qib_make_ud_req()
365 bth0 |= qp->ibqp.qp_type == IB_QPT_SMI ? QIB_DEFAULT_P_KEY : in qib_make_ud_req()
366 qib_get_pkey(ibp, qp->ibqp.qp_type == IB_QPT_GSI ? in qib_make_ud_req()
385 ohdr->u.ud.deth[1] = cpu_to_be32(qp->ibqp.qp_num); in qib_make_ud_req()
464 if (qp->ibqp.qp_num) { in qib_ud_rcv()
468 if (qp->ibqp.qp_num > 1) { in qib_ud_rcv()
478 src_qp, qp->ibqp.qp_num, in qib_ud_rcv()
487 if (unlikely(qp->ibqp.qp_num == 1 && in qib_ud_rcv()
509 if (qp->ibqp.qp_num > 1 && in qib_ud_rcv()
539 if (qp->ibqp.qp_num == 0) in qib_ud_rcv()
564 wc.qp = &qp->ibqp; in qib_ud_rcv()
566 wc.pkey_index = qp->ibqp.qp_type == IB_QPT_GSI ? in qib_ud_rcv()