Home
last modified time | relevance | path

Searched refs:iso_info (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_target.c132 unsigned int fslice = !!(iso_info->flags & CXGBIT_ISO_FSLICE); in cxgbit_cpl_tx_data_iso()
147 cpl->mpdu = htons(DIV_ROUND_UP(iso_info->mpdu, 4)); in cxgbit_cpl_tx_data_iso()
149 cpl->len = htonl(iso_info->len); in cxgbit_cpl_tx_data_iso()
399 struct cxgbit_iso_info iso_info; in cxgbit_tx_datain_iso() local
430 memset(&iso_info, 0, sizeof(iso_info)); in cxgbit_tx_datain_iso()
433 iso_info.flags |= CXGBIT_ISO_FSLICE; in cxgbit_tx_datain_iso()
436 iso_info.flags |= CXGBIT_ISO_LSLICE; in cxgbit_tx_datain_iso()
445 iso_info.burst_len = num_pdu * mrdsl; in cxgbit_tx_datain_iso()
446 iso_info.mpdu = mrdsl; in cxgbit_tx_datain_iso()
447 iso_info.len = ISCSI_HDR_LEN + plen; in cxgbit_tx_datain_iso()
[all …]
/openbmc/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.c2078 memset(iso_info, 0, sizeof(struct cxgbi_iso_info)); in cxgbi_prep_iso_info()
2081 iso_info->flags |= CXGBI_ISO_INFO_IMM_ENABLE; in cxgbi_prep_iso_info()
2109 iso_info->flags |= CXGBI_ISO_INFO_FSLICE; in cxgbi_prep_iso_info()
2112 iso_info->flags |= CXGBI_ISO_INFO_LSLICE; in cxgbi_prep_iso_info()
2116 iso_info->op = task->hdr->opcode; in cxgbi_prep_iso_info()
2117 iso_info->ahs = task->hdr->hlength; in cxgbi_prep_iso_info()
2118 iso_info->num_pdu = num_pdu; in cxgbi_prep_iso_info()
2119 iso_info->mpdu = max_pdu_len; in cxgbi_prep_iso_info()
2120 iso_info->burst_size = (burst_size + r2t_dlength) >> 2; in cxgbi_prep_iso_info()
2121 iso_info->len = count + task->hdr_len; in cxgbi_prep_iso_info()
[all …]