Home
last modified time | relevance | path

Searched refs:wr_max_cred (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c1325 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()
1827 credit, csk->wr_max_cred); in cxgbit_credit_err()
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()
H A Dcxgbit.h215 u32 wr_max_cred; member
H A Dcxgbit_target.c256 if ((csk->wr_una_cred >= (csk->wr_max_cred / 2)) || in cxgbit_push_tx_frames()
268 (csk->wr_una_cred >= (csk->wr_max_cred / 2))) { in cxgbit_push_tx_frames()
/linux/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c441 csk->wr_una_cred >= csk->wr_max_cred / 2) { 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/drivers/scsi/cxgbi/
H A Dlibcxgbi.h127 int wr_max_cred; member
H A Dlibcxgbi.c1034 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()
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()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c840 ((csk->wr_una_cred >= (csk->wr_max_cred / 2)) || in push_tx_frames()
862 (csk->wr_una_cred >= (csk->wr_max_cred / 2))) { in push_tx_frames()
1698 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources()
1886 csk->wr_max_cred = csk->wr_cred; in init_act_open()