Searched refs:wr_cred (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 1322 csk->wr_cred = cdev->lldi.wr_cred - in cxgbit_pass_accept_req() 1324 csk->wr_max_cred = csk->wr_cred; in cxgbit_pass_accept_req() 1815 if (unlikely(csk->wr_cred > csk->wr_max_cred)) { in cxgbit_credit_err() 1817 csk, csk->tid, csk->wr_cred, csk->wr_max_cred); in cxgbit_credit_err() 1826 if (unlikely((csk->wr_cred + credit) != csk->wr_max_cred)) { in cxgbit_credit_err() 1828 csk, csk->tid, csk->wr_cred, in cxgbit_credit_err() 1843 csk->wr_cred += credits; in cxgbit_fw4_ack() 1844 if (csk->wr_una_cred > (csk->wr_max_cred - csk->wr_cred)) in cxgbit_fw4_ack() 1845 csk->wr_una_cred = csk->wr_max_cred - csk->wr_cred; in cxgbit_fw4_ack() 1854 csk->wr_cred, csk->wr_una_cred); in cxgbit_fw4_ack() [all …]
|
D | cxgbit_target.c | 205 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()
|
D | cxgbit.h | 213 u32 wr_cred; member
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 405 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() 913 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources() 996 csk->wr_max_cred = csk->wr_cred = T3C_DATA(t3dev)->max_wrs - 1; in init_act_open()
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 779 while (csk->wr_cred && ((skb = skb_peek(&csk->write_queue)) != NULL)) { in push_tx_frames() 808 csk->wr_cred -= flowclen16; in push_tx_frames() 813 if (csk->wr_cred < credits_needed) { in push_tx_frames() 817 credits_needed, csk->wr_cred); in push_tx_frames() 828 csk->wr_cred -= credits_needed; in push_tx_frames() 835 csk->wr_cred, csk->wr_una_cred); in push_tx_frames() 1696 if (csk->wr_cred != csk->wr_max_cred) { in release_offload_resources() 1882 csk->wr_cred = lldi->wr_cred - in init_act_open() 1884 csk->wr_max_cred = csk->wr_cred; in init_act_open() 2228 lldi->nrxq, lldi->wr_cred); in t4_uld_add()
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1029 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()
|
D | libcxgbi.h | 129 int wr_cred; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 436 unsigned char wr_cred; /* WR 16-byte credits */ member
|
D | cxgb4_uld.c | 610 lld->wr_cred = adap->params.ofldq_wr_cred; in uld_init()
|