Lines Matching refs:ibp
601 struct qib_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in qib_send_rc_ack() local
602 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_send_rc_ack()
630 hwords += qib_make_grh(ibp, &hdr.u.l.grh, in qib_send_rc_ack()
637 bth0 = qib_get_pkey(ibp, qp->s_pkey_index) | (OP(ACKNOWLEDGE) << 24); in qib_send_rc_ack()
646 lrh0 |= ibp->sl_to_vl[rdma_ah_get_sl(&qp->remote_ah_attr)] << 12 | in qib_send_rc_ack()
708 this_cpu_inc(ibp->pmastats->n_unicast_xmit); in qib_send_rc_ack()
713 this_cpu_inc(*ibp->rvp.rc_qacks); in qib_send_rc_ack()
824 struct qib_ibport *ibp; in qib_restart_rc() local
839 ibp = to_iport(qp->ibqp.device, qp->port_num); in qib_restart_rc()
841 ibp->rvp.n_rc_resends++; in qib_restart_rc()
843 ibp->rvp.n_rc_resends += (qp->s_psn - psn) & QIB_PSN_MASK; in qib_restart_rc()
953 struct qib_ibport *ibp) in do_rc_completion() argument
967 this_cpu_inc(*ibp->rvp.rc_delayed_comp); in do_rc_completion()
1010 struct qib_ibport *ibp; in do_rc_ack() local
1027 ibp = to_iport(qp->ibqp.device, qp->port_num); in do_rc_ack()
1099 wqe = do_rc_completion(qp, wqe, ibp); in do_rc_ack()
1106 this_cpu_inc(*ibp->rvp.rc_acks); in do_rc_ack()
1138 ibp->rvp.n_rnr_naks++; in do_rc_ack()
1153 ibp->rvp.n_rc_resends += (qp->s_psn - psn) & QIB_PSN_MASK; in do_rc_ack()
1170 ibp->rvp.n_seq_naks++; in do_rc_ack()
1183 ibp->rvp.n_other_naks++; in do_rc_ack()
1188 ibp->rvp.n_other_naks++; in do_rc_ack()
1193 ibp->rvp.n_other_naks++; in do_rc_ack()
1224 static void rdma_seq_err(struct rvt_qp *qp, struct qib_ibport *ibp, u32 psn, in rdma_seq_err() argument
1239 wqe = do_rc_completion(qp, wqe, ibp); in rdma_seq_err()
1242 ibp->rvp.n_rdma_seq++; in rdma_seq_err()
1269 static void qib_rc_rcv_resp(struct qib_ibport *ibp, in qib_rc_rcv_resp() argument
1278 struct qib_pportdata *ppd = ppd_from_ibp(ibp); in qib_rc_rcv_resp()
1461 rdma_seq_err(qp, ibp, psn, rcd); in qib_rc_rcv_resp()
1501 struct qib_ibport *ibp = to_iport(qp->ibqp.device, qp->port_num); in qib_rc_rcv_error() local
1514 ibp->rvp.n_rc_seqnak++; in qib_rc_rcv_error()
1550 ibp->rvp.n_rc_dupreq++; in qib_rc_rcv_error()
1717 struct qib_ibport *ibp = &rcd->ppd->ibport_data; in qib_rc_rcv() local
1740 if (qib_ruc_check_hdr(ibp, hdr, has_grh, qp, opcode)) in qib_rc_rcv()
1754 qib_rc_rcv_resp(ibp, ohdr, data, tlen, qp, opcode, psn, in qib_rc_rcv()