Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c77 int flowclen16, flowclen; in flowc_wr_credits() local
80 flowclen16 = DIV_ROUND_UP(flowclen, 16); in flowc_wr_credits()
81 flowclen = flowclen16 * 16; in flowc_wr_credits()
86 return flowclen16; in flowc_wr_credits()
112 int flowclen16; in send_flowc_wr() local
115 flowclen16 = flowclen / 16; in send_flowc_wr()
131 return flowclen16; in send_flowc_wr()
136 return flowclen16; in send_flowc_wr()
166 int nparams, paramidx, flowclen16, flowclen; in send_tx_flowc_wr() local
207 flowclen16 = flowc_wr_credits(nparams, &flowclen); in send_tx_flowc_wr()
[all …]
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c593 int nparams, flowclen16, flowclen; in tx_flowc_wr_credits() local
600 flowclen16 = DIV_ROUND_UP(flowclen, 16); in tx_flowc_wr_credits()
601 flowclen = flowclen16 * 16; in tx_flowc_wr_credits()
611 return flowclen16; in tx_flowc_wr_credits()
618 int nparams, flowclen16, flowclen; in send_tx_flowc_wr() local
623 flowclen16 = tx_flowc_wr_credits(&nparams, &flowclen); in send_tx_flowc_wr()
629 htonl(FW_WR_LEN16_V(flowclen16) | FW_WR_FLOWID_V(csk->tid)); in send_tx_flowc_wr()
675 return flowclen16; in send_tx_flowc_wr()
786 u32 flowclen16 = 0; in push_tx_frames() local
809 flowclen16 = send_tx_flowc_wr(csk); in push_tx_frames()
[all …]
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c1392 u32 nparams, flowclen16, flowclen; in cxgbit_tx_flowc_wr_credits() local
1403 flowclen16 = DIV_ROUND_UP(flowclen, 16); in cxgbit_tx_flowc_wr_credits()
1404 flowclen = flowclen16 * 16; in cxgbit_tx_flowc_wr_credits()
1413 return flowclen16; in cxgbit_tx_flowc_wr_credits()
1420 u32 nparams, flowclen16, flowclen; in cxgbit_send_tx_flowc_wr() local
1428 flowclen16 = cxgbit_tx_flowc_wr_credits(csk, &nparams, &flowclen); in cxgbit_send_tx_flowc_wr()
1435 flowc->flowid_len16 = cpu_to_be32(FW_WR_LEN16_V(flowclen16) | in cxgbit_send_tx_flowc_wr()
1485 return flowclen16; in cxgbit_send_tx_flowc_wr()
H A Dcxgbit_target.c210 u32 flowclen16 = 0; in cxgbit_push_tx_frames() local
232 flowclen16 = cxgbit_send_tx_flowc_wr(csk); in cxgbit_push_tx_frames()
233 csk->wr_cred -= flowclen16; in cxgbit_push_tx_frames()
234 csk->wr_una_cred += flowclen16; in cxgbit_push_tx_frames()
245 skb->csum = (__force __wsum)(credits_needed + flowclen16); in cxgbit_push_tx_frames()