Lines Matching refs:credits

199 	    ("%s: not enough credits (%d)", __func__, toep->tx_credits));
443 send_rx_credits(struct adapter *sc, struct toepcb *toep, int credits)
449 KASSERT(credits >= 0, ("%s: %d credits", __func__, credits));
457 req->credit_dack = htobe32(dack | V_RX_CREDITS(credits));
460 return (credits);
579 ("%s: %d credits", __func__, tx_credits));
599 ("%s: %d credits", __func__, tx_credits));
613 unsigned int plen, uint8_t credits, int shove, int ulp_submode, int txalign)
620 V_FW_WR_LEN16(credits));
717 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf;
795 /* Too few credits */
873 credits = howmany(wr->wr_len, 16);
874 write_tx_wr(txwr, toep, plen, plen, credits, shove, 0,
892 credits = howmany(wr_len, 16);
893 write_tx_wr(txwr, toep, 0, plen, credits, shove, 0,
904 KASSERT(toep->tx_credits >= credits,
905 ("%s: not enough credits", __func__));
907 toep->tx_credits -= credits;
908 toep->tx_nocompl += credits;
934 txsd->tx_credits = credits;
958 /* Too many credits. */
962 /* Partial credits. */
976 u_int plen, nsegs, credits, max_imm, max_nsegs, max_nsegs_1mbuf;
1070 credits = howmany(wr->wr_len, 16);
1071 write_tx_wr(txwr, toep, plen, adjusted_plen, credits,
1088 credits = howmany(wr_len, 16);
1089 write_tx_wr(txwr, toep, 0, adjusted_plen, credits,
1100 KASSERT(toep->tx_credits >= credits,
1101 ("%s: not enough credits", __func__));
1107 toep->tx_credits -= credits;
1108 toep->tx_nocompl += credits;
1126 txsd->tx_credits = credits;
1700 uint8_t credits = cpl->credits;
1709 * now this comes back carrying the credits for the flowc.
1713 ("%s: credits for a synq entry %p", __func__, toep));
1754 CTR3(KTR_CXGBE, "%s: tid %d credits %u", __func__, tid, credits);
1759 while (credits) {
1760 KASSERT(credits >= txsd->tx_credits,
1761 ("%s: too many (or partial) credits", __func__));
1762 credits -= txsd->tx_credits;
1811 * Incoming credits should account for so_snd
1876 ("%s: not enough credits (%d)", __func__,