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