Home
last modified time | relevance | path

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

/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c128 cxgbit_cpl_tx_data_iso(struct sk_buff *skb, struct cxgbit_iso_info *iso_info) in cxgbit_cpl_tx_data_iso() argument
132 unsigned int fslice = !!(iso_info->flags & CXGBIT_ISO_FSLICE); in cxgbit_cpl_tx_data_iso()
133 unsigned int lslice = !!(iso_info->flags & CXGBIT_ISO_LSLICE); in cxgbit_cpl_tx_data_iso()
147 cpl->mpdu = htons(DIV_ROUND_UP(iso_info->mpdu, 4)); in cxgbit_cpl_tx_data_iso()
148 cpl->burst_size = htonl(DIV_ROUND_UP(iso_info->burst_len, 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()
[all …]
/drivers/scsi/cxgbi/
Dlibcxgbi.c2064 struct cxgbi_iso_info *iso_info = (struct cxgbi_iso_info *)skb->head; in cxgbi_prep_iso_info() local
2078 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()
[all …]