Dick Kennedy 8e036a9497 scsi: lpfc: Fix FCP hba_wqidx assignment
The driver is encountering  oops in lpfc_sli_calc_ring.

The driver is setting hba_wqidx for FCP based on the policy in use for
NVME. The two may not be the same.  Change to set the wqidx based on the
FCP policy.

Cc: <stable@vger.kernel.org> # 4.12+
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-10-02 22:46:36 -04:00
..
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-09-07 21:11:05 -07:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00
2017-09-07 21:11:05 -07:00
2017-02-22 18:41:44 -05:00
2017-06-12 21:37:31 -04:00
2017-04-24 09:25:49 +02:00
2017-02-22 18:41:44 -05:00
2017-02-22 18:41:44 -05:00