summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libiscsi_tcp.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2008-12-02 00:32:13 -0600
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 11:24:22 -0600
commit262ef63627977acb7d8dd38c4f0f290bf49fbbfd (patch)
treefc8e01280968470f2d3d122614508fe5e402e0a2 /drivers/scsi/libiscsi_tcp.c
parent38e1a8f5479d7d75a68d797c7159f5b7e2ef44e4 (diff)
downloadlinux-stable-262ef63627977acb7d8dd38c4f0f290bf49fbbfd.tar.gz
linux-stable-262ef63627977acb7d8dd38c4f0f290bf49fbbfd.tar.bz2
linux-stable-262ef63627977acb7d8dd38c4f0f290bf49fbbfd.zip
[SCSI] libiscsi: allow drivers to modify the itt sent to the target
bnx2i and cxgb3i need to encode LLD info in the itt so that the firmware/hardware can process the pdu. This patch allows the LLDs to encode info in the task->hdr->itt that they setup in the alloc_pdu callout (any resources that are allocated can be freed with the pdu in the cleanup_task callout). If the LLD encodes info in the itt they should implement a parse_pdu_itt callout. If parse_pdu_itt is not implemented libiscsi will do the right thing for the LLD. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libiscsi_tcp.c')
0 files changed, 0 insertions, 0 deletions