]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] lpfc 8.3.25: Fabric and Target Discovery Fixes
authorJames Smart <james.smart@emulex.com>
Fri, 22 Jul 2011 22:37:06 +0000 (18:37 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 11:12:19 +0000 (15:12 +0400)
commit7ed85c7b0c3a3c96c6a5fdb7baffb5ce4c9e691f
tree902e39cd0c393453094a631a0ced072cdc885f6e
parent1653f0654dee1bf6a7985f2368f2c43b716a536b
[SCSI] lpfc 8.3.25: Fabric and Target Discovery Fixes

Fabric and Target Discovery Fixes

- Clear FC_VPORT_NEEDS_INIT_VPI flag during completion of REG_VFI mailbox
  command.
- Prevent SLI3 Code from unregistering the physical VPI.
- Add an else clause to the code that checks and sets
  sp->cmn.request_multiple_Nport to clear the bit.
- Remove a redundant mbox free.
- Modified lpfc_sli4_async_fip_evt to pass in physical VPI toi
  lpfc_find_vport_by_vpid function.
- Modified lpfc_find_vport_by_vpid to translate physical VPI to logical VPI
  before comparing with vport VPI.

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>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c