Lines Matching defs:qp
73 * @qp: the QP to link
75 static struct rvt_mcast_qp *rvt_mcast_qp_alloc(struct rvt_qp *qp)
83 mqp->qp = qp;
84 rvt_get_qp(qp);
92 struct rvt_qp *qp = mqp->qp;
95 rvt_put_qp(qp);
228 if (p->qp == mqp->qp) {
273 * rvt_attach_mcast - attach a qp to a multicast group
274 * @ibqp: Infiniband qp
282 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp);
284 struct rvt_ibport *ibp = rdi->ports[qp->port_num - 1];
289 if (ibqp->qp_num <= 1 || qp->state == IB_QPS_RESET)
300 mqp = rvt_mcast_qp_alloc(qp);
336 * rvt_detach_mcast - remove a qp from a multicast group
337 * @ibqp: Infiniband qp
345 struct rvt_qp *qp = ibqp_to_rvtqp(ibqp);
347 struct rvt_ibport *ibp = rdi->ports[qp->port_num - 1];
386 if (p->qp != qp)