Lines Matching full:credit
52 * Convert the AETH credit code into the number of credits.
101 * Set the credit field to the invalid value. in rvt_compute_aeth()
133 * Binary search the credit table to find the code to in rvt_compute_aeth()
166 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit() local
170 * If the credit is invalid, we can send in rvt_get_credit()
172 * honor the credit field. in rvt_get_credit()
174 if (credit == IB_AETH_CREDIT_INVAL) { in rvt_get_credit()
183 /* Compute new LSN (i.e., MSN + credit) */ in rvt_get_credit()
184 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit()
185 if (rvt_cmp_msn(credit, qp->s_lsn) > 0) { in rvt_get_credit()
186 qp->s_lsn = credit; in rvt_get_credit()