Home
last modified time | relevance | path

Searched refs:flowclen16 (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_io.c80 int flowclen16, flowclen; in flowc_wr_credits() local
83 flowclen16 = DIV_ROUND_UP(flowclen, 16); in flowc_wr_credits()
84 flowclen = flowclen16 * 16; in flowc_wr_credits()
89 return flowclen16; in flowc_wr_credits()
115 int flowclen16; in send_flowc_wr() local
118 flowclen16 = flowclen / 16; in send_flowc_wr()
134 return flowclen16; in send_flowc_wr()
139 return flowclen16; in send_flowc_wr()
169 int nparams, paramidx, flowclen16, flowclen; in send_tx_flowc_wr() local
210 flowclen16 = flowc_wr_credits(nparams, &flowclen); in send_tx_flowc_wr()
[all …]
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c574 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
578 flowclen16 = DIV_ROUND_UP(flowclen, 16); in tx_flowc_wr_credits()
579 flowclen = flowclen16 * 16; in tx_flowc_wr_credits()
589 return flowclen16; in tx_flowc_wr_credits()
596 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
598 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
604 htonl(FW_WR_LEN16_V(flowclen16) | FW_WR_FLOWID_V(csk->tid)); in send_tx_flowc_wr()
636 return flowclen16; in send_tx_flowc_wr()
698 int flowclen16 = 0; in push_tx_frames() local
718 flowclen16 = send_tx_flowc_wr(csk); in push_tx_frames()
[all …]
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1373 u32 nparams, flowclen16, flowclen; in cxgbit_tx_flowc_wr_credits() local
1384 flowclen16 = DIV_ROUND_UP(flowclen, 16); in cxgbit_tx_flowc_wr_credits()
1385 flowclen = flowclen16 * 16; in cxgbit_tx_flowc_wr_credits()
1394 return flowclen16; in cxgbit_tx_flowc_wr_credits()
1401 u32 nparams, flowclen16, flowclen; in cxgbit_send_tx_flowc_wr() local
1409 flowclen16 = cxgbit_tx_flowc_wr_credits(csk, &nparams, &flowclen); in cxgbit_send_tx_flowc_wr()
1416 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | in cxgbit_send_tx_flowc_wr()
1466 return flowclen16; in cxgbit_send_tx_flowc_wr()
Dcxgbit_target.c214 u32 flowclen16 = 0; in cxgbit_push_tx_frames() local
236 flowclen16 = cxgbit_send_tx_flowc_wr(csk); in cxgbit_push_tx_frames()
237 csk->wr_cred -= flowclen16; in cxgbit_push_tx_frames()
238 csk->wr_una_cred += flowclen16; in cxgbit_push_tx_frames()
249 skb->csum = (__force __wsum)(credits_needed + flowclen16); in cxgbit_push_tx_frames()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dcm.c592 int flowclen, flowclen16; in send_flowc() local
603 flowclen16 = DIV_ROUND_UP(flowclen, 16); in send_flowc()
604 flowclen = flowclen16 * 16; in send_flowc()
611 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | in send_flowc()