Home
last modified time | relevance | path

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

/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c630 while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) { in push_tx_frames()
655 csk->wr_cred -= flowclen16; in push_tx_frames()
660 if (csk->wr_cred < credits_needed) { in push_tx_frames()
664 credits_needed, csk->wr_cred); in push_tx_frames()
670 csk->wr_cred -= credits_needed; in push_tx_frames()
677 csk->wr_cred, csk->wr_una_cred); in push_tx_frames()
1343 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
1468 csk->wr_cred = lldi->wr_cred - in init_act_open()
1470 csk->wr_max_cred = csk->wr_cred; in init_act_open()
1773 lldi->nrxq, lldi->wr_cred); in t4_uld_add()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c406 while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) { in push_tx_frames()
416 if (csk->wr_cred < wrs_needed) { in push_tx_frames()
420 wrs_needed, csk->wr_cred); in push_tx_frames()
427 csk->wr_cred -= wrs_needed; in push_tx_frames()
435 csk->wr_cred, csk->wr_una_cred); in push_tx_frames()
915 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
994 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()
/drivers/scsi/cxgbi/
Dlibcxgbi.c1002 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); in cxgbi_sock_rcv_wr_ack()
1006 csk->wr_cred += credits; in cxgbi_sock_rcv_wr_ack()
1007 if (csk->wr_una_cred > csk->wr_max_cred - csk->wr_cred) in cxgbi_sock_rcv_wr_ack()
1008 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbi_sock_rcv_wr_ack()
1016 csk->wr_cred, csk->wr_una_cred); in cxgbi_sock_rcv_wr_ack()
1023 credits, csk->wr_cred, csk->wr_una_cred, in cxgbi_sock_rcv_wr_ack()
1108 if (unlikely(csk->wr_cred + pending != csk->wr_max_cred)) in cxgbi_sock_check_wr_invariants()
1110 csk, csk->tid, csk->wr_cred, pending, csk->wr_max_cred); in cxgbi_sock_check_wr_invariants()
Dlibcxgbi.h199 int wr_cred; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h252 unsigned char wr_cred; /* WR 16-byte credits */ member
Dcxgb4_main.c2458 lli.wr_cred = adap->params.ofldq_wr_cred; in uld_attach()