Lines Matching full:comp

35 	[COMPST_COMP_WQE]		= "COMP WQE",
36 [COMPST_COMP_ACK] = "COMP ACK",
42 [COMPST_UPDATE_COMP] = "UPDATE COMP",
124 qp->comp.timeout = 1; in retransmit_timer()
125 rxe_sched_task(&qp->comp.task); in retransmit_timer()
141 rxe_sched_task(&qp->comp.task); in rxe_comp_queue_pkt()
143 rxe_run_task(&qp->comp.task); in rxe_comp_queue_pkt()
176 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
177 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
178 qp->comp.started_retry = 0; in reset_retry_counters()
204 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
212 (qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST || in check_psn()
213 qp->comp.opcode == IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE)) in check_psn()
233 switch (qp->comp.opcode) { in check_ack()
322 if (psn_compare(pkt->psn, qp->comp.psn) > 0) { in check_ack()
325 qp->comp.psn = pkt->psn; in check_ack()
489 if (qp->attr.sq_draining && qp->comp.psn == qp->req.psn) { in comp_check_sq_drain_done()
516 qp->comp.timeout_retry = 0; in complete_ack()
526 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in complete_ack()
537 if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) { in complete_wqe()
538 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
539 qp->comp.opcode = -1; in complete_wqe()
640 psn_compare(qp->req.psn, qp->comp.psn) > 0) in reset_retry_timer()
669 if (qp->comp.timeout) { in rxe_completer()
670 qp->comp.timeout_retry = 1; in rxe_completer()
671 qp->comp.timeout = 0; in rxe_completer()
673 qp->comp.timeout_retry = 0; in rxe_completer()
688 qp->comp.timeout_retry = 0; in rxe_completer()
731 qp->comp.opcode = -1; in rxe_completer()
733 qp->comp.opcode = pkt->opcode; in rxe_completer()
735 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in rxe_completer()
736 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
750 if (qp->comp.timeout_retry && wqe) { in rxe_completer()
774 if (qp->comp.started_retry && in rxe_completer()
775 !qp->comp.timeout_retry) in rxe_completer()
778 if (qp->comp.retry_cnt > 0) { in rxe_completer()
779 if (qp->comp.retry_cnt != 7) in rxe_completer()
780 qp->comp.retry_cnt--; in rxe_completer()
787 qp->comp.psn) > 0) { in rxe_completer()
794 qp->comp.started_retry = 1; in rxe_completer()
808 if (qp->comp.rnr_retry > 0) { in rxe_completer()
809 if (qp->comp.rnr_retry != 7) in rxe_completer()
810 qp->comp.rnr_retry--; in rxe_completer()