Dick Kennedy 6b486ce9ee scsi: lpfc: Fix bad sgl reposting after 2nd adapter reset
Port issue was fixed, the hbacmd reset would take more than 8 minutes to
complete.

There were conflicting NVME SGL posting/reposting responsibilities
between lpfc_online()/lpfc_sli4_hba_setup() and
lpfc_nvme_create_localport().  The lpfc_online() causes a REPOST on
existing NVME SGLs which is not released during the fc port reset.
However, lpfc_nvme_create_localport() wants to allocate new NVME buffers
and post them. Both cancelled out each other which had a side effect of
hosing the mailbox handling that was used to remove the sgl lists -
causing multiple 60s mbx timeouts.

Fix by preserving all SGL lists over the fc port reset.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-08-24 22:29:42 -04:00
..
2017-08-07 14:04:02 -04:00
2017-07-06 12:10:33 -07:00
2017-07-06 12:10:33 -07:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2017-08-24 22:29:06 -04:00
2016-05-10 22:01:07 -04:00
2015-11-09 16:32:14 -08:00
2016-02-25 21:10:53 -05:00
2017-05-04 12:19:44 -07:00
2017-03-23 12:04:05 -04:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2017-04-26 15:09:04 -06:00
2016-02-23 21:27:02 -05:00
2016-11-28 15:51:31 -05:00
2017-07-03 09:55:26 -07:00
2017-07-06 12:10:33 -07:00
2017-04-13 13:58:20 -04:00
2017-07-06 12:10:33 -07:00
2017-06-27 21:31:12 -04:00
2017-05-16 08:44:15 -03:00
2017-05-04 12:19:44 -07:00
2017-07-06 12:10:33 -07:00
2017-08-24 22:28:59 -04:00
2016-02-23 21:27:02 -05:00
2017-04-07 17:07:14 -04:00
2015-11-18 11:59:09 -05:00
2017-04-26 18:32:29 -04:00
2017-02-21 11:51:42 -08:00
2017-03-15 19:27:46 -04:00