Home
last modified time | relevance | path

Searched refs:wr_cred (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c467 while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) { in push_tx_frames()
481 if (csk->wr_cred < credits_needed) { in push_tx_frames()
485 credits_needed, csk->wr_cred); in push_tx_frames()
491 csk->wr_cred -= credits_needed; in push_tx_frames()
498 csk->wr_cred, csk->wr_una_cred); in push_tx_frames()
504 csk->wr_cred -= 5; in push_tx_frames()
1105 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
1173 csk->wr_max_cred = csk->wr_cred = lldi->wr_cred; in init_act_open()
1452 lldi->nrxq, lldi->wr_cred); in t4_uld_add()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c405 while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) { in push_tx_frames()
415 if (csk->wr_cred < wrs_needed) { in push_tx_frames()
419 wrs_needed, csk->wr_cred); in push_tx_frames()
426 csk->wr_cred -= wrs_needed; in push_tx_frames()
434 csk->wr_cred, csk->wr_una_cred); in push_tx_frames()
914 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
991 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()
/drivers/scsi/cxgbi/
Dlibcxgbi.c755 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); in cxgbi_sock_rcv_wr_ack()
759 csk->wr_cred += credits; in cxgbi_sock_rcv_wr_ack()
760 if (csk->wr_una_cred > csk->wr_max_cred - csk->wr_cred) in cxgbi_sock_rcv_wr_ack()
761 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbi_sock_rcv_wr_ack()
769 csk->wr_cred, csk->wr_una_cred); in cxgbi_sock_rcv_wr_ack()
776 credits, csk->wr_cred, csk->wr_una_cred, in cxgbi_sock_rcv_wr_ack()
861 if (unlikely(csk->wr_cred + pending != csk->wr_max_cred)) in cxgbi_sock_check_wr_invariants()
863 csk, csk->tid, csk->wr_cred, pending, csk->wr_max_cred); in cxgbi_sock_check_wr_invariants()
Dlibcxgbi.h190 int wr_cred; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h227 unsigned char wr_cred; /* WR 16-byte credits */ member
Dcxgb4_main.c3681 lli.wr_cred = adap->params.ofldq_wr_cred; in uld_attach()