Searched refs:wr_cred (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1304 csk->wr_cred = cdev->lldi.wr_cred - in cxgbit_pass_accept_req() 1306 csk->wr_max_cred = csk->wr_cred; in cxgbit_pass_accept_req() 1781 if (unlikely(csk->wr_cred > csk->wr_max_cred)) { in cxgbit_credit_err() 1783 csk, csk->tid, csk->wr_cred, csk->wr_max_cred); in cxgbit_credit_err() 1792 if (unlikely((csk->wr_cred + credit) != csk->wr_max_cred)) { in cxgbit_credit_err() 1794 csk, csk->tid, csk->wr_cred, in cxgbit_credit_err() 1809 csk->wr_cred += credits; in cxgbit_fw4_ack() 1810 if (csk->wr_una_cred > (csk->wr_max_cred - csk->wr_cred)) in cxgbit_fw4_ack() 1811 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbit_fw4_ack() 1820 csk->wr_cred, csk->wr_una_cred); in cxgbit_fw4_ack() [all …]
|
D | cxgbit_target.c | 209 while (csk->wr_cred && ((skb = skb_peek(&csk->txq)) != NULL)) { in cxgbit_push_tx_frames() 237 csk->wr_cred -= flowclen16; in cxgbit_push_tx_frames() 241 if (csk->wr_cred < credits_needed) { in cxgbit_push_tx_frames() 244 credits_needed, csk->wr_cred); in cxgbit_push_tx_frames() 250 csk->wr_cred -= credits_needed; in cxgbit_push_tx_frames() 255 csk->wr_cred, csk->wr_una_cred); in cxgbit_push_tx_frames()
|
D | cxgbit.h | 217 u32 wr_cred; member
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 694 while (csk->wr_cred && (skb = skb_peek(&csk->write_queue)) != NULL) { in push_tx_frames() 719 csk->wr_cred -= flowclen16; in push_tx_frames() 724 if (csk->wr_cred < credits_needed) { in push_tx_frames() 728 credits_needed, csk->wr_cred); in push_tx_frames() 734 csk->wr_cred -= credits_needed; in push_tx_frames() 741 csk->wr_cred, csk->wr_una_cred); in push_tx_frames() 1579 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources() 1712 csk->wr_cred = lldi->wr_cred - in init_act_open() 1714 csk->wr_max_cred = csk->wr_cred; in init_act_open() 2025 lldi->nrxq, lldi->wr_cred); in t4_uld_add()
|
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 407 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() 916 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources() 995 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()
|
/Linux-v4.19/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1022 csk->wr_cred, csk->wr_una_cred, snd_una, seq_chk); in cxgbi_sock_rcv_wr_ack() 1026 csk->wr_cred += credits; in cxgbi_sock_rcv_wr_ack() 1027 if (csk->wr_una_cred > csk->wr_max_cred - csk->wr_cred) in cxgbi_sock_rcv_wr_ack() 1028 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbi_sock_rcv_wr_ack() 1036 csk->wr_cred, csk->wr_una_cred); in cxgbi_sock_rcv_wr_ack() 1043 credits, csk->wr_cred, csk->wr_una_cred, in cxgbi_sock_rcv_wr_ack() 1128 if (unlikely(csk->wr_cred + pending != csk->wr_max_cred)) in cxgbi_sock_check_wr_invariants() 1130 csk, csk->tid, csk->wr_cred, pending, csk->wr_max_cred); in cxgbi_sock_check_wr_invariants()
|
D | libcxgbi.h | 121 int wr_cred; member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 330 unsigned char wr_cred; /* WR 16-byte credits */ member
|
D | cxgb4_uld.c | 640 lld->wr_cred = adap->params.ofldq_wr_cred; in uld_init()
|