scsi: qla2xxx: Check for firmware capability before creating QPair
authorSaurav Kashyap <skashyap@marvell.com>
Wed, 8 Sep 2021 16:46:15 +0000 (09:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 15 Sep 2021 03:33:19 +0000 (23:33 -0400)
commit8192817efbc34e9ca482edf340d41c5ca0d4dad0
tree7c4eaf3369c792bb30c2141336d67f557d45729d
parent52cca50d35f814e737791e2c2cf8c279219a9f29
scsi: qla2xxx: Check for firmware capability before creating QPair

Add firmware capability check of multiQ specifically for ISP25XX before
creating qpair.

Link: https://lore.kernel.org/r/20210908164622.19240-4-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c