Lines Matching refs:ibp
1240 struct hfi1_ibport *ibp; in hfi1_queue_rc_ack() local
1246 ibp = rcd_to_iport(packet->rcd); in hfi1_queue_rc_ack()
1247 this_cpu_inc(*ibp->rvp.rc_qacks); in hfi1_queue_rc_ack()
1267 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_9B() local
1268 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_9B()
1281 *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, in hfi1_make_rc_ack_9B()
1291 pkey = hfi1_get_pkey(ibp, qp->s_pkey_index); in hfi1_make_rc_ack_9B()
1320 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_16B() local
1321 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_16B()
1339 *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, in hfi1_make_rc_ack_16B()
1348 pkey = hfi1_get_pkey(ibp, qp->s_pkey_index); in hfi1_make_rc_ack_16B()
1390 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_send_rc_ack() local
1392 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_send_rc_ack()
1393 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack()
1610 struct hfi1_ibport *ibp; in hfi1_restart_rc() local
1625 struct hfi1_ibport *ibp = in hfi1_restart_rc() local
1633 wqe = do_rc_completion(qp, wqe, ibp); in hfi1_restart_rc()
1657 ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_restart_rc()
1660 ibp->rvp.n_rc_resends++; in hfi1_restart_rc()
1662 ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); in hfi1_restart_rc()
1868 struct hfi1_ibport *ibp) in do_rc_completion() argument
1888 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in do_rc_completion()
1890 this_cpu_inc(*ibp->rvp.rc_delayed_comp); in do_rc_completion()
1901 sc5 = ibp->sl_to_sc[sl]; in do_rc_completion()
2009 struct hfi1_ibport *ibp; in do_rc_ack() local
2029 ibp = rcd_to_iport(rcd); in do_rc_ack()
2106 wqe = do_rc_completion(qp, wqe, ibp); in do_rc_ack()
2115 this_cpu_inc(*ibp->rvp.rc_acks); in do_rc_ack()
2205 ibp->rvp.n_rnr_naks++; in do_rc_ack()
2234 ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); in do_rc_ack()
2248 ibp->rvp.n_seq_naks++; in do_rc_ack()
2261 ibp->rvp.n_other_naks++; in do_rc_ack()
2266 ibp->rvp.n_other_naks++; in do_rc_ack()
2271 ibp->rvp.n_other_naks++; in do_rc_ack()
2305 static void rdma_seq_err(struct rvt_qp *qp, struct hfi1_ibport *ibp, u32 psn, in rdma_seq_err() argument
2323 wqe = do_rc_completion(qp, wqe, ibp); in rdma_seq_err()
2326 ibp->rvp.n_rdma_seq++; in rdma_seq_err()
2350 struct hfi1_ibport *ibp; in rc_rcv_resp() local
2509 ibp = rcd_to_iport(rcd); in rc_rcv_resp()
2510 rdma_seq_err(qp, ibp, psn, rcd); in rc_rcv_resp()
2555 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in rc_rcv_error() local
2570 ibp->rvp.n_rc_seqnak++; in rc_rcv_error()
2602 ibp->rvp.n_rc_dupreq++; in rc_rcv_error()
2811 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_rc_rcv() local
2829 if (hfi1_ruc_check_hdr(ibp, packet)) in hfi1_rc_rcv()
3255 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_rc_hdrerr() local
3260 if (hfi1_ruc_check_hdr(ibp, packet)) in hfi1_rc_hdrerr()
3270 ibp->rvp.n_rc_seqnak++; in hfi1_rc_hdrerr()