Lines Matching refs:ibp

1199 	struct hfi1_ibport *ibp;  in hfi1_queue_rc_ack()  local
1205 ibp = rcd_to_iport(packet->rcd); in hfi1_queue_rc_ack()
1206 this_cpu_inc(*ibp->rvp.rc_qacks); in hfi1_queue_rc_ack()
1226 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_9B() local
1227 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_9B()
1240 *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, in hfi1_make_rc_ack_9B()
1250 pkey = hfi1_get_pkey(ibp, qp->s_pkey_index); in hfi1_make_rc_ack_9B()
1279 struct hfi1_ibport *ibp = rcd_to_iport(packet->rcd); in hfi1_make_rc_ack_16B() local
1280 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_make_rc_ack_16B()
1298 *hwords += hfi1_make_grh(ibp, &hdr->u.l.grh, in hfi1_make_rc_ack_16B()
1307 pkey = hfi1_get_pkey(ibp, qp->s_pkey_index); in hfi1_make_rc_ack_16B()
1348 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_send_rc_ack() local
1350 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in hfi1_send_rc_ack()
1351 u8 sc5 = ibp->sl_to_sc[rdma_ah_get_sl(&qp->remote_ah_attr)]; in hfi1_send_rc_ack()
1568 struct hfi1_ibport *ibp; in hfi1_restart_rc() local
1583 struct hfi1_ibport *ibp = in hfi1_restart_rc() local
1591 wqe = do_rc_completion(qp, wqe, ibp); in hfi1_restart_rc()
1615 ibp = to_iport(qp->ibqp.device, qp->port_num); in hfi1_restart_rc()
1618 ibp->rvp.n_rc_resends++; in hfi1_restart_rc()
1620 ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); in hfi1_restart_rc()
1826 struct hfi1_ibport *ibp) in do_rc_completion() argument
1846 struct hfi1_pportdata *ppd = ppd_from_ibp(ibp); in do_rc_completion()
1848 this_cpu_inc(*ibp->rvp.rc_delayed_comp); in do_rc_completion()
1859 sc5 = ibp->sl_to_sc[sl]; in do_rc_completion()
1967 struct hfi1_ibport *ibp; in do_rc_ack() local
1987 ibp = rcd_to_iport(rcd); in do_rc_ack()
2064 wqe = do_rc_completion(qp, wqe, ibp); in do_rc_ack()
2073 this_cpu_inc(*ibp->rvp.rc_acks); in do_rc_ack()
2163 ibp->rvp.n_rnr_naks++; in do_rc_ack()
2192 ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); in do_rc_ack()
2206 ibp->rvp.n_seq_naks++; in do_rc_ack()
2219 ibp->rvp.n_other_naks++; in do_rc_ack()
2224 ibp->rvp.n_other_naks++; in do_rc_ack()
2229 ibp->rvp.n_other_naks++; in do_rc_ack()
2263 static void rdma_seq_err(struct rvt_qp *qp, struct hfi1_ibport *ibp, u32 psn, in rdma_seq_err() argument
2281 wqe = do_rc_completion(qp, wqe, ibp); in rdma_seq_err()
2284 ibp->rvp.n_rdma_seq++; in rdma_seq_err()
2308 struct hfi1_ibport *ibp; in rc_rcv_resp() local
2467 ibp = rcd_to_iport(rcd); in rc_rcv_resp()
2468 rdma_seq_err(qp, ibp, psn, rcd); in rc_rcv_resp()
2514 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in rc_rcv_error() local
2529 ibp->rvp.n_rc_seqnak++; in rc_rcv_error()
2561 ibp->rvp.n_rc_dupreq++; in rc_rcv_error()
2770 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_rc_rcv() local
2788 if (hfi1_ruc_check_hdr(ibp, packet)) in hfi1_rc_rcv()
3214 struct hfi1_ibport *ibp = rcd_to_iport(rcd); in hfi1_rc_hdrerr() local
3219 if (hfi1_ruc_check_hdr(ibp, packet)) in hfi1_rc_hdrerr()
3229 ibp->rvp.n_rc_seqnak++; in hfi1_rc_hdrerr()