Lines Matching refs:credits
5865 /* Firmware doesn't return "partial" credits. */
5867 ("%s: unexpected number of credits: %d, %d",
5870 ("%s: descriptor with no credits: cidx %d",
6416 /* How many len16 credits do we need to send this mbuf. */
6423 * credits and kick the tx.
6533 uint8_t credits = cpl->credits;
6538 MPASS(credits >= ETID_FLOWC_LEN16);
6539 credits -= ETID_FLOWC_LEN16;
6548 while (credits > 0) {
6552 * The remaining credits are for the final flush that
6558 MPASS(credits == ETID_FLUSH_LEN16);
6559 MPASS(cst->tx_credits + cpl->credits == cst->tx_total);
6563 cst->tx_credits += cpl->credits;
6568 ("%s: too many credits (%u, %u)", __func__, cpl->credits,
6569 credits));
6570 KASSERT(credits >= mbuf_eo_len16(m),
6571 ("%s: too few credits (%u, %u, %u)", __func__,
6572 cpl->credits, credits, mbuf_eo_len16(m)));
6573 credits -= mbuf_eo_len16(m);
6578 cst->tx_credits += cpl->credits;