Lines Matching full:comp

35 	[COMPST_COMP_WQE]		= "COMP WQE",
36 [COMPST_COMP_ACK] = "COMP ACK",
42 [COMPST_UPDATE_COMP] = "UPDATE COMP",
118 qp->comp.timeout = 1; in retransmit_timer()
119 rxe_run_task(&qp->comp.task, 1); in retransmit_timer()
133 rxe_run_task(&qp->comp.task, must_sched); in rxe_comp_queue_pkt()
169 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
170 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
171 qp->comp.started_retry = 0; in reset_retry_counters()
197 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
222 switch (qp->comp.opcode) { in check_ack()
303 if (psn_compare(pkt->psn, qp->comp.psn) > 0) { in check_ack()
306 qp->comp.psn = pkt->psn; in check_ack()
468 qp->comp.timeout_retry = 0; in complete_ack()
478 (qp->comp.psn == qp->req.psn)) { in complete_ack()
498 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in complete_ack()
509 if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) { in complete_wqe()
510 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
511 qp->comp.opcode = -1; in complete_wqe()
578 if (qp->comp.timeout) { in rxe_completer()
579 qp->comp.timeout_retry = 1; in rxe_completer()
580 qp->comp.timeout = 0; in rxe_completer()
582 qp->comp.timeout_retry = 0; in rxe_completer()
600 qp->comp.timeout_retry = 0; in rxe_completer()
643 qp->comp.opcode = -1; in rxe_completer()
645 qp->comp.opcode = pkt->opcode; in rxe_completer()
647 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in rxe_completer()
648 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
662 if (qp->comp.timeout_retry && wqe) { in rxe_completer()
677 (psn_compare(qp->req.psn, qp->comp.psn) > 0) && in rxe_completer()
702 if (qp->comp.started_retry && in rxe_completer()
703 !qp->comp.timeout_retry) in rxe_completer()
706 if (qp->comp.retry_cnt > 0) { in rxe_completer()
707 if (qp->comp.retry_cnt != 7) in rxe_completer()
708 qp->comp.retry_cnt--; in rxe_completer()
715 qp->comp.psn) > 0) { in rxe_completer()
722 qp->comp.started_retry = 1; in rxe_completer()
735 if (qp->comp.rnr_retry > 0) { in rxe_completer()
736 if (qp->comp.rnr_retry != 7) in rxe_completer()
737 qp->comp.rnr_retry--; in rxe_completer()