Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/target/iscsi/cxgbit/
A Dcxgbit_cm.c1323 csk->wr_cred = cdev->lldi.wr_cred - in cxgbit_pass_accept_req()
1325 csk->wr_max_cred = csk->wr_cred; in cxgbit_pass_accept_req()
1813 if (unlikely(csk->wr_cred > csk->wr_max_cred)) { in cxgbit_credit_err()
1815 csk, csk->tid, csk->wr_cred, csk->wr_max_cred); in cxgbit_credit_err()
1824 if (unlikely((csk->wr_cred + credit) != csk->wr_max_cred)) { in cxgbit_credit_err()
1826 csk, csk->tid, csk->wr_cred, in cxgbit_credit_err()
1841 csk->wr_cred += credits; in cxgbit_fw4_ack()
1842 if (csk->wr_una_cred > (csk->wr_max_cred - csk->wr_cred)) in cxgbit_fw4_ack()
1843 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbit_fw4_ack()
1852 csk->wr_cred, csk->wr_una_cred); in cxgbit_fw4_ack()
[all …]
A Dcxgbit_target.c205 while (csk->wr_cred && ((skb = skb_peek(&csk->txq)) != NULL)) { in cxgbit_push_tx_frames()
233 csk->wr_cred -= flowclen16; in cxgbit_push_tx_frames()
237 if (csk->wr_cred < credits_needed) { in cxgbit_push_tx_frames()
240 credits_needed, csk->wr_cred); in cxgbit_push_tx_frames()
246 csk->wr_cred -= credits_needed; in cxgbit_push_tx_frames()
251 csk->wr_cred, csk->wr_una_cred); in cxgbit_push_tx_frames()
A Dcxgbit.h213 u32 wr_cred; member
/linux-6.3-rc2/drivers/scsi/cxgbi/cxgb3i/
A Dcxgb3i.c407 while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) { in push_tx_frames()
417 if (csk->wr_cred < wrs_needed) { in push_tx_frames()
421 wrs_needed, csk->wr_cred); in push_tx_frames()
428 csk->wr_cred -= wrs_needed; in push_tx_frames()
436 csk->wr_cred, csk->wr_una_cred); in push_tx_frames()
915 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
998 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()
/linux-6.3-rc2/drivers/scsi/cxgbi/cxgb4i/
A Dcxgb4i.c781 while (csk->wr_cred && ((skb = skb_peek(&csk->write_queue)) != NULL)) { in push_tx_frames()
810 csk->wr_cred -= flowclen16; in push_tx_frames()
815 if (csk->wr_cred < credits_needed) { in push_tx_frames()
819 credits_needed, csk->wr_cred); in push_tx_frames()
830 csk->wr_cred -= credits_needed; in push_tx_frames()
837 csk->wr_cred, csk->wr_una_cred); in push_tx_frames()
1698 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
1884 csk->wr_cred = lldi->wr_cred - in init_act_open()
1886 csk->wr_max_cred = csk->wr_cred; in init_act_open()
2230 lldi->nrxq, lldi->wr_cred); in t4_uld_add()
/linux-6.3-rc2/drivers/scsi/cxgbi/
A Dlibcxgbi.c1029 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); in cxgbi_sock_rcv_wr_ack()
1033 csk->wr_cred += credits; in cxgbi_sock_rcv_wr_ack()
1034 if (csk->wr_una_cred > csk->wr_max_cred - csk->wr_cred) in cxgbi_sock_rcv_wr_ack()
1035 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbi_sock_rcv_wr_ack()
1043 csk->wr_cred, csk->wr_una_cred); in cxgbi_sock_rcv_wr_ack()
1050 credits, csk->wr_cred, csk->wr_una_cred, in cxgbi_sock_rcv_wr_ack()
1135 if (unlikely(csk->wr_cred + pending != csk->wr_max_cred)) in cxgbi_sock_check_wr_invariants()
1137 csk, csk->tid, csk->wr_cred, pending, csk->wr_max_cred); in cxgbi_sock_check_wr_invariants()
A Dlibcxgbi.h128 int wr_cred; member
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_uld.h436 unsigned char wr_cred; /* WR 16-byte credits */ member
A Dcxgb4_uld.c610 lld->wr_cred = adap->params.ofldq_wr_cred; in uld_init()

Completed in 30 milliseconds