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()
128 * Binary search the credit table to find the code to in rvt_compute_aeth()
161 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit() local
165 * If the credit is invalid, we can send in rvt_get_credit()
167 * honor the credit field. in rvt_get_credit()
169 if (credit == IB_AETH_CREDIT_INVAL) { in rvt_get_credit()
178 /* Compute new LSN (i.e., MSN + credit) */ in rvt_get_credit()
179 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit()
180 if (rvt_cmp_msn(credit, qp->s_lsn) > 0) { in rvt_get_credit()
181 qp->s_lsn = credit; in rvt_get_credit()