Lines Matching refs:ibqp
163 struct ib_qp *ibqp = &qp->ibqp; in hfi1_check_modify_qp() local
164 struct hfi1_ibdev *dev = to_idev(ibqp->device); in hfi1_check_modify_qp()
169 sc = ah_to_sc(ibqp->device, &attr->ah_attr); in hfi1_check_modify_qp()
182 sc = ah_to_sc(ibqp->device, &attr->alt_ah_attr); in hfi1_check_modify_qp()
209 hfi1_update_ah_attr(qp->ibqp.device, &qp->remote_ah_attr); in qp_set_16b()
217 ibp = to_iport(qp->ibqp.device, qp->port_num); in qp_set_16b()
225 struct ib_qp *ibqp = &qp->ibqp; in hfi1_modify_qp() local
229 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp()
239 priv->s_sc = ah_to_sc(ibqp->device, &qp->remote_ah_attr); in hfi1_modify_qp()
265 struct hfi1_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_setup_wqe()
270 switch (qp->ibqp.qp_type) { in hfi1_setup_wqe()
327 to_iport(qp->ibqp.device, qp->port_num); in _hfi1_schedule_send()
466 to_iport(qp->ibqp.device, qp->port_num); in iowait_sleep()
541 struct hfi1_devdata *dd = dd_from_ibdev(qp->ibqp.device); in qp_to_sdma_engine()
546 switch (qp->ibqp.qp_type) { in qp_to_sdma_engine()
552 sde = sdma_select_engine_sc(dd, qp->ibqp.qp_num >> dd->qos_shift, sc5); in qp_to_sdma_engine()
566 struct hfi1_devdata *dd = dd_from_ibdev(qp->ibqp.device); in qp_to_send_context()
568 switch (qp->ibqp.qp_type) { in qp_to_send_context()
576 return pio_select_send_context_sc(dd, qp->ibqp.qp_num >> dd->qos_shift, in qp_to_send_context()
606 struct rvt_srq *srq = qp->ibqp.srq ? in qp_iter_print()
607 ibsrq_to_rvtsrq(qp->ibqp.srq) : NULL; in qp_iter_print()
618 qp->ibqp.qp_num, in qp_iter_print()
620 qp_type_str[qp->ibqp.qp_type], in qp_iter_print()
639 rvt_max_atomic(&to_idev(qp->ibqp.device)->rdi), in qp_iter_print()
653 ib_cq_head(qp->ibqp.send_cq), in qp_iter_print()
654 ib_cq_tail(qp->ibqp.send_cq), in qp_iter_print()
766 if (qp->ibqp.qp_type == IB_QPT_RC) in notify_qp_reset()
784 priv->s_sc = ah_to_sc(qp->ibqp.device, &qp->remote_ah_attr); in hfi1_migrate_qp()
788 ev.device = qp->ibqp.device; in hfi1_migrate_qp()
789 ev.element.qp = &qp->ibqp; in hfi1_migrate_qp()
791 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_migrate_qp()
815 mtu = verbs_mtu_enum_to_int(qp->ibqp.device, pmtu); in mtu_from_qp()
831 mtu = verbs_mtu_enum_to_int(qp->ibqp.device, attr->path_mtu); in get_pmtu_from_attr()
884 to_iport(qp->ibqp.device, qp->port_num); in hfi1_qp_iter_cb()
889 (qp->ibqp.qp_type != IB_QPT_UC && in hfi1_qp_iter_cb()
890 qp->ibqp.qp_type != IB_QPT_RC) || in hfi1_qp_iter_cb()
903 ev.device = qp->ibqp.device; in hfi1_qp_iter_cb()
904 ev.element.qp = &qp->ibqp; in hfi1_qp_iter_cb()
906 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in hfi1_qp_iter_cb()