Searched refs:credits_needed (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c626 unsigned int credits_needed; push_tx_frames() local
631 credits_needed = DIV_ROUND_UP(dlen, 16); push_tx_frames()
633 credits_needed = DIV_ROUND_UP( push_tx_frames()
638 credits_needed += DIV_ROUND_UP( push_tx_frames()
653 if (csk->wr_cred < credits_needed) { push_tx_frames()
657 credits_needed, csk->wr_cred); push_tx_frames()
662 skb->csum = credits_needed + flowclen16; push_tx_frames()
663 csk->wr_cred -= credits_needed; push_tx_frames()
664 csk->wr_una_cred += credits_needed; push_tx_frames()
669 csk, skb->len, skb->data_len, credits_needed, push_tx_frames()
674 make_tx_data_wr(csk, skb, dlen, len, credits_needed, push_tx_frames()

Completed in 95 milliseconds