Lines Matching full:comp
35 [COMPST_COMP_WQE] = "COMP WQE",
36 [COMPST_COMP_ACK] = "COMP ACK",
42 [COMPST_UPDATE_COMP] = "UPDATE COMP",
117 qp->comp.timeout = 1; in retransmit_timer()
118 rxe_run_task(&qp->comp.task, 1); in retransmit_timer()
132 rxe_run_task(&qp->comp.task, must_sched); in rxe_comp_queue_pkt()
165 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
166 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
167 qp->comp.started_retry = 0; in reset_retry_counters()
193 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
218 switch (qp->comp.opcode) { in check_ack()
299 if (psn_compare(pkt->psn, qp->comp.psn) > 0) { in check_ack()
302 qp->comp.psn = pkt->psn; in check_ack()
453 qp->comp.timeout_retry = 0; in complete_ack()
463 (qp->comp.psn == qp->req.psn)) { in complete_ack()
483 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in complete_ack()
494 if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) { in complete_wqe()
495 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
496 qp->comp.opcode = -1; in complete_wqe()
548 if (qp->comp.timeout) { in rxe_completer()
549 qp->comp.timeout_retry = 1; in rxe_completer()
550 qp->comp.timeout = 0; in rxe_completer()
552 qp->comp.timeout_retry = 0; in rxe_completer()
568 qp->comp.timeout_retry = 0; in rxe_completer()
611 qp->comp.opcode = -1; in rxe_completer()
613 qp->comp.opcode = pkt->opcode; in rxe_completer()
615 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in rxe_completer()
616 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
635 if (qp->comp.timeout_retry && wqe) { in rxe_completer()
650 (psn_compare(qp->req.psn, qp->comp.psn) > 0) && in rxe_completer()
672 if (qp->comp.started_retry && in rxe_completer()
673 !qp->comp.timeout_retry) { in rxe_completer()
683 if (qp->comp.retry_cnt > 0) { in rxe_completer()
684 if (qp->comp.retry_cnt != 7) in rxe_completer()
685 qp->comp.retry_cnt--; in rxe_completer()
692 qp->comp.psn) > 0) { in rxe_completer()
699 qp->comp.started_retry = 1; in rxe_completer()
719 if (qp->comp.rnr_retry > 0) { in rxe_completer()
720 if (qp->comp.rnr_retry != 7) in rxe_completer()
721 qp->comp.rnr_retry--; in rxe_completer()