Lines Matching full:credits
157 ("%s: not enough credits (%d)", __func__, toep->tx_credits));
396 send_rx_credits(struct adapter *sc, struct toepcb *toep, int credits)
402 KASSERT(credits >= 0, ("%s: %d credits", __func__, credits));
410 req->credit_dack = htobe32(dack | V_RX_CREDITS(credits));
413 return (credits);
511 ("%s: %d credits", __func__, tx_credits));
533 ("%s: %d credits", __func__, tx_credits));
547 unsigned int immdlen, unsigned int plen, uint8_t credits, int shove,
555 V_FW_WR_LEN16(credits));
631 u_int credits, plen;
636 credits = howmany(plen, 16);
637 if (credits > toep->tx_credits)
647 toep->tx_credits -= credits;
652 KASSERT(credits <= MAX_OFLD_TX_SDESC_CREDITS,
653 ("%s: tx_credits %u too large", __func__, credits));
656 txsd->tx_credits = credits;
692 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf;
799 /* Too few credits */
878 credits = howmany(wr->wr_len, 16);
880 credits, shove, 0);
898 credits = howmany(wr_len, 16);
900 credits, shove, 0);
910 KASSERT(toep->tx_credits >= credits,
911 ("%s: not enough credits", __func__));
913 toep->tx_credits -= credits;
914 toep->tx_nocompl += credits;
942 txsd->tx_credits = credits;
966 /* Too many credits. */
970 /* Partial credits. */
1035 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf;
1142 credits = howmany(wr->wr_len, 16);
1147 adjusted_plen, credits, shove, ulp_submode | ULP_ISO);
1155 adjusted_plen, credits, shove, ulp_submode);
1169 KASSERT(toep->tx_credits >= credits,
1170 ("%s: not enough credits: credits %u "
1172 "max_nsegs %u iso %d", __func__, credits,
1192 u_int plen, credits;
1234 * still in so_snd. Incoming credits
1253 credits = howmany(wr->wr_len, 16);
1254 KASSERT(toep->tx_credits >= credits,
1255 ("%s: not enough credits", __func__));
1261 toep->tx_credits -= credits;
1262 toep->tx_nocompl += credits;
1266 * Ensure there are enough credits for a full-sized WR
1285 txsd->tx_credits = credits;
1915 uint8_t credits = cpl->credits;
1924 * now this comes back carrying the credits for the flowc.
1928 ("%s: credits for a synq entry %p", __func__, toep));
1969 CTR3(KTR_CXGBE, "%s: tid %d credits %u", __func__, tid, credits);
1974 while (credits) {
1975 KASSERT(credits >= txsd->tx_credits,
1976 ("%s: too many (or partial) credits", __func__));
1977 credits -= txsd->tx_credits;
2016 * still in so_snd. Incoming credits
2095 ("%s: not enough credits (%d)", __func__,