diff options
author | James Smart <james.smart@emulex.com> | 2012-05-09 21:19:14 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-17 06:10:25 -0400 |
commit | ee0f4fe17b0fda87c7f4eb3ec6e96ef8291419bd (patch) | |
tree | 946eb55e8aa32e7682b4672d73500b9b1a4b3109 /drivers/scsi/lpfc/lpfc_els.c | |
parent | 939723a4a680a7863fc95179b1480c5529f31d88 (diff) |
[SCSI] lpfc 8.3.31: Fix unsol abts xri lookup
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_els.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 379397d17aca..d54ae1999797 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c | |||
@@ -3003,7 +3003,7 @@ lpfc_els_retry(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, | |||
3003 | * ABTS we cannot generate and RRQ. | 3003 | * ABTS we cannot generate and RRQ. |
3004 | */ | 3004 | */ |
3005 | lpfc_set_rrq_active(phba, ndlp, | 3005 | lpfc_set_rrq_active(phba, ndlp, |
3006 | cmdiocb->sli4_xritag, 0, 0); | 3006 | cmdiocb->sli4_lxritag, 0, 0); |
3007 | } | 3007 | } |
3008 | break; | 3008 | break; |
3009 | case IOSTAT_LOCAL_REJECT: | 3009 | case IOSTAT_LOCAL_REJECT: |
@@ -5673,7 +5673,7 @@ lpfc_issue_els_rrq(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, | |||
5673 | pcmd += sizeof(uint32_t); | 5673 | pcmd += sizeof(uint32_t); |
5674 | els_rrq = (struct RRQ *) pcmd; | 5674 | els_rrq = (struct RRQ *) pcmd; |
5675 | 5675 | ||
5676 | bf_set(rrq_oxid, els_rrq, rrq->xritag); | 5676 | bf_set(rrq_oxid, els_rrq, phba->sli4_hba.xri_ids[rrq->xritag]); |
5677 | bf_set(rrq_rxid, els_rrq, rrq->rxid); | 5677 | bf_set(rrq_rxid, els_rrq, rrq->rxid); |
5678 | bf_set(rrq_did, els_rrq, vport->fc_myDID); | 5678 | bf_set(rrq_did, els_rrq, vport->fc_myDID); |
5679 | els_rrq->rrq = cpu_to_be32(els_rrq->rrq); | 5679 | els_rrq->rrq = cpu_to_be32(els_rrq->rrq); |
@@ -7960,7 +7960,9 @@ lpfc_sli4_els_xri_aborted(struct lpfc_hba *phba, | |||
7960 | sglq_entry->state = SGL_FREED; | 7960 | sglq_entry->state = SGL_FREED; |
7961 | spin_unlock(&phba->sli4_hba.abts_sgl_list_lock); | 7961 | spin_unlock(&phba->sli4_hba.abts_sgl_list_lock); |
7962 | spin_unlock_irqrestore(&phba->hbalock, iflag); | 7962 | spin_unlock_irqrestore(&phba->hbalock, iflag); |
7963 | lpfc_set_rrq_active(phba, ndlp, xri, rxid, 1); | 7963 | lpfc_set_rrq_active(phba, ndlp, |
7964 | sglq_entry->sli4_lxritag, | ||
7965 | rxid, 1); | ||
7964 | 7966 | ||
7965 | /* Check if TXQ queue needs to be serviced */ | 7967 | /* Check if TXQ queue needs to be serviced */ |
7966 | if (pring->txq_cnt) | 7968 | if (pring->txq_cnt) |