Lines Matching refs:s_psn

459 	if (cmp_psn(qp->s_psn, qp->s_sending_hpsn) <= 0) {  in hfi1_make_rc_req()
464 qp->s_sending_psn = qp->s_psn; in hfi1_make_rc_req()
465 qp->s_sending_hpsn = qp->s_psn - 1; in hfi1_make_rc_req()
533 qp->s_psn = wqe->psn; in hfi1_make_rc_req()
542 bth2 = mask_psn(qp->s_psn); in hfi1_make_rc_req()
765 delta = cmp_psn(qp->s_psn, wqe->psn); in hfi1_make_rc_req()
810 req->s_next_psn = qp->s_psn; in hfi1_make_rc_req()
889 qp->s_psn = wqe->lpsn + 1; in hfi1_make_rc_req()
891 qp->s_psn = req->s_next_psn; in hfi1_make_rc_req()
893 qp->s_psn++; in hfi1_make_rc_req()
906 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in hfi1_make_rc_req()
912 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()
951 qp->s_len = restart_sge(&qp->s_sge, wqe, qp->s_psn, pmtu); in hfi1_make_rc_req()
957 bth2 = mask_psn(qp->s_psn++); in hfi1_make_rc_req()
991 len = (delta_psn(qp->s_psn, wqe->psn)) * pmtu; in hfi1_make_rc_req()
1000 bth2 = mask_psn(qp->s_psn) | IB_BTH_REQ_ACK; in hfi1_make_rc_req()
1001 qp->s_psn = wqe->lpsn + 1; in hfi1_make_rc_req()
1019 req->comp_seg = delta_psn(qp->s_psn, wqe->psn); in hfi1_make_rc_req()
1023 bth2 = mask_psn(qp->s_psn); in hfi1_make_rc_req()
1026 qp->s_psn = wqe->lpsn + 1; in hfi1_make_rc_req()
1048 req->cur_seg = delta_psn(qp->s_psn, wqe->psn) / priv->pkts_ps; in hfi1_make_rc_req()
1087 qp->s_psn = req->s_next_psn; in hfi1_make_rc_req()
1093 delta = cmp_psn(qp->s_psn, wqe->psn); in hfi1_make_rc_req()
1130 qp->s_psn = req->s_next_psn; in hfi1_make_rc_req()
1547 qp->s_psn = psn; in reset_psn()
1553 if ((cmp_psn(qp->s_psn, qp->s_sending_hpsn) <= 0) && in reset_psn()
1620 ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); in hfi1_restart_rc()
1808 qp->s_sending_psn = qp->s_psn; in hfi1_rc_send_complete()
1809 qp->s_sending_hpsn = qp->s_psn - 1; in hfi1_rc_send_complete()
1889 qp->s_psn = wqe->psn; in do_rc_completion()
1935 qp->s_psn = psn + 1; in update_qp_retry_state()
2113 cmp_psn(qp->s_psn, psn) <= 0) in do_rc_ack()
2132 if (cmp_psn(qp->s_psn, psn) <= 0) in do_rc_ack()
2138 if (cmp_psn(qp->s_psn, psn) <= 0) { in do_rc_ack()
2140 qp->s_psn = psn + 1; in do_rc_ack()
2192 ibp->rvp.n_rc_resends += delta_psn(qp->s_psn, psn); in do_rc_ack()