mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
Target Transfer Tag is opaque; no need to htonl(3) it.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e883c9bb40
commit
ea86ccce9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263745
@ -2500,7 +2500,7 @@ cfiscsi_datamove_out(union ctl_io *io)
|
||||
return;
|
||||
}
|
||||
cdw->cdw_ctl_io = io;
|
||||
cdw->cdw_target_transfer_tag = htonl(target_transfer_tag);
|
||||
cdw->cdw_target_transfer_tag = target_transfer_tag;
|
||||
cdw->cdw_initiator_task_tag = bhssc->bhssc_initiator_task_tag;
|
||||
|
||||
if (cs->cs_immediate_data && icl_pdu_data_segment_length(request) > 0) {
|
||||
@ -2540,7 +2540,7 @@ cfiscsi_datamove_out(union ctl_io *io)
|
||||
bhsr2t->bhsr2t_flags = 0x80;
|
||||
bhsr2t->bhsr2t_lun = bhssc->bhssc_lun;
|
||||
bhsr2t->bhsr2t_initiator_task_tag = bhssc->bhssc_initiator_task_tag;
|
||||
bhsr2t->bhsr2t_target_transfer_tag = htonl(target_transfer_tag);
|
||||
bhsr2t->bhsr2t_target_transfer_tag = target_transfer_tag;
|
||||
/*
|
||||
* XXX: Here we assume that cfiscsi_datamove() won't ever
|
||||
* be running concurrently on several CPUs for a given
|
||||
|
Loading…
Reference in New Issue
Block a user