Lines Matching refs:tx_credits
194 txsd->tx_credits = DIV_ROUND_UP(TLS_KEY_WR_SZ, 16); in tls_program_key_id()
196 toep->tx_credits -= txsd->tx_credits; in tls_program_key_id()
497 int tls_size, tx_credits, shove, sowwakeup; in t4_push_ktls() local
537 tx_credits = min(toep->tx_credits, MAX_OFLD_TX_CREDITS); in t4_push_ktls()
599 if (howmany(wr_len, 16) > tx_credits) { in t4_push_ktls()
609 tx_credits); in t4_push_ktls()
680 KASSERT(toep->tx_credits >= credits, in t4_push_ktls()
683 toep->tx_credits -= credits; in t4_push_ktls()
693 if (toep->tx_credits < MIN_OFLD_TLSTX_CREDITS(toep)) in t4_push_ktls()
698 txsd->tx_credits = credits; in t4_push_ktls()