diff options
author | James Smart <james.smart@emulex.com> | 2013-07-16 02:35:04 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-08-23 21:23:51 +0400 |
commit | 3cb01c57c981c8483395562c09c82032f0550240 (patch) | |
tree | 9de693a40ff5daae9339acbf3839c295487241e4 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 71157c9eb2793054e784b94fd7678147a1a496d6 (diff) | |
download | linux-3cb01c57c981c8483395562c09c82032f0550240.tar.xz |
[SCSI] lpfc 8.3.41: Add first burst support to driver
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index 4261469619c2..1242b6c4308b 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c @@ -4387,6 +4387,11 @@ lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd, if (datadir == DMA_TO_DEVICE) { iocb_cmd->ulpCommand = CMD_FCP_IWRITE64_CR; iocb_cmd->ulpPU = PARM_READ_CHECK; + if (vport->cfg_first_burst_size && + (pnode->nlp_flag & NLP_FIRSTBURST)) { + piocbq->iocb.un.fcpi.fcpi_XRdy = + vport->cfg_first_burst_size; + } fcp_cmnd->fcpCntl3 = WRITE_DATA; phba->fc4OutputRequests++; } else { |