From: Mike Christie Date: Tue, 2 Dec 2008 06:32:13 +0000 (-0600) Subject: [SCSI] libiscsi: allow drivers to modify the itt sent to the target X-Git-Tag: v2.6.29-rc1~555^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=262ef63627977acb7d8dd38c4f0f290bf49fbbfd;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed