scsi: lpfc: Vport creation is failing with "Link Down" error
authorJames Smart <jsmart2021@gmail.com>
Fri, 16 Jun 2017 05:56:43 +0000 (22:56 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 20 Jun 2017 01:39:37 +0000 (21:39 -0400)
commit56bc802842839174befc97749ea01d4004275c14
tree746f5cf4323aff612f325a429c2b8062c59c3787
parentb4fd681e8a353b1d492c159d6effa070c3c00c23
scsi: lpfc: Vport creation is failing with "Link Down" error

Vport creation fails for SLI-3 adapters.

Mailbox submission fails because mailbox interrupt is disabled. Mailbox
interrupt is disabled during port reset.

Do reset only for physical port.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c