Lines Matching refs: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()
166 qp->comp.retry_cnt = qp->attr.retry_cnt; in reset_retry_counters()
167 qp->comp.rnr_retry = qp->attr.rnr_retry; in reset_retry_counters()
168 qp->comp.started_retry = 0; in reset_retry_counters()
194 diff = psn_compare(pkt->psn, qp->comp.psn); in check_psn()
219 switch (qp->comp.opcode) { in check_ack()
300 if (psn_compare(pkt->psn, qp->comp.psn) > 0) { in check_ack()
303 qp->comp.psn = pkt->psn; in check_ack()
467 qp->comp.timeout_retry = 0; in complete_ack()
477 (qp->comp.psn == qp->req.psn)) { in complete_ack()
497 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in complete_ack()
508 if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) { in complete_wqe()
509 qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK; in complete_wqe()
510 qp->comp.opcode = -1; in complete_wqe()
577 if (qp->comp.timeout) { in rxe_completer()
578 qp->comp.timeout_retry = 1; in rxe_completer()
579 qp->comp.timeout = 0; in rxe_completer()
581 qp->comp.timeout_retry = 0; in rxe_completer()
599 qp->comp.timeout_retry = 0; in rxe_completer()
642 qp->comp.opcode = -1; in rxe_completer()
644 qp->comp.opcode = pkt->opcode; in rxe_completer()
646 if (psn_compare(pkt->psn, qp->comp.psn) >= 0) in rxe_completer()
647 qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK; in rxe_completer()
661 if (qp->comp.timeout_retry && wqe) { in rxe_completer()
676 (psn_compare(qp->req.psn, qp->comp.psn) > 0) && in rxe_completer()
701 if (qp->comp.started_retry && in rxe_completer()
702 !qp->comp.timeout_retry) in rxe_completer()
705 if (qp->comp.retry_cnt > 0) { in rxe_completer()
706 if (qp->comp.retry_cnt != 7) in rxe_completer()
707 qp->comp.retry_cnt--; in rxe_completer()
714 qp->comp.psn) > 0) { in rxe_completer()
721 qp->comp.started_retry = 1; in rxe_completer()
734 if (qp->comp.rnr_retry > 0) { in rxe_completer()
735 if (qp->comp.rnr_retry != 7) in rxe_completer()
736 qp->comp.rnr_retry--; in rxe_completer()