Lines Matching full:credit
10 * Convert the AETH credit code into the number of credits.
59 * Set the credit field to the invalid value. in rvt_compute_aeth()
91 * Binary search the credit table to find the code to in rvt_compute_aeth()
124 u32 credit = (aeth >> IB_AETH_CREDIT_SHIFT) & IB_AETH_CREDIT_MASK; in rvt_get_credit() local
128 * If the credit is invalid, we can send in rvt_get_credit()
130 * honor the credit field. in rvt_get_credit()
132 if (credit == IB_AETH_CREDIT_INVAL) { in rvt_get_credit()
141 /* Compute new LSN (i.e., MSN + credit) */ in rvt_get_credit()
142 credit = (aeth + credit_table[credit]) & IB_MSN_MASK; in rvt_get_credit()
143 if (rvt_cmp_msn(credit, qp->s_lsn) > 0) { in rvt_get_credit()
144 qp->s_lsn = credit; in rvt_get_credit()