Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/target/iscsi/
Discsi_target_seq_pdu_list.c210 u32 mdsl; in iscsit_determine_counts_for_list() local
214 mdsl = cmd->conn->conn_ops->MaxXmitDataSegmentLength; in iscsit_determine_counts_for_list()
216 mdsl = cmd->conn->conn_ops->MaxRecvDataSegmentLength; in iscsit_determine_counts_for_list()
240 if ((offset + mdsl) >= cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list()
246 if ((offset + mdsl) in iscsit_determine_counts_for_list()
258 offset += mdsl; in iscsit_determine_counts_for_list()
259 unsolicited_data_length -= mdsl; in iscsit_determine_counts_for_list()
262 if ((offset + mdsl) >= cmd->se_cmd.data_length) { in iscsit_determine_counts_for_list()
266 if ((burstlength + mdsl) >= in iscsit_determine_counts_for_list()
275 burstlength += mdsl; in iscsit_determine_counts_for_list()
[all …]
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c34 u32 mdsl; in cxgbit_set_mdsl() local
38 mdsl = min_t(u32, lldi->iscsi_iolen - ISCSI_PDU_NONPAYLOAD_LEN, in cxgbit_set_mdsl()
40 mdsl = min_t(u32, mdsl, 8192); in cxgbit_set_mdsl()
41 mdsl = min_t(u32, mdsl, (MAX_SKB_FRAGS - 1) * PAGE_SIZE); in cxgbit_set_mdsl()
43 cdev->mdsl = mdsl; in cxgbit_set_mdsl()
Dcxgbit.h139 u32 mdsl; member
Dcxgbit_target.c588 if (max_xmitdsl > cdev->mdsl) { in cxgbit_validate_params()
590 conn, "MaxXmitDataSegmentLength=%u", cdev->mdsl)) in cxgbit_validate_params()
725 if (conn_ops->MaxRecvDataSegmentLength > cdev->mdsl) in cxgbit_set_params()
726 conn_ops->MaxRecvDataSegmentLength = cdev->mdsl; in cxgbit_set_params()