scsi: qla2xxx: Use ql2xnvmeenable to enable Q-Pair for FC-NVMe
authorHimanshu Madhani <himanshu.madhani@cavium.com>
Fri, 13 Oct 2017 22:43:22 +0000 (15:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 17 Oct 2017 03:05:14 +0000 (23:05 -0400)
commitc38d1baff87ffaa0c5966b57c5cfa906b58ce9e6
treec437c7bb5a185f700c41ee9f9c5881a64fdc2eaf
parent4ca8204781bc2326c091a1b4dec6d4e4c63a5e30
scsi: qla2xxx: Use ql2xnvmeenable to enable Q-Pair for FC-NVMe

In some environments, user can choose to not enable SCSI-MQ but wants to
use FC-NVMe feature of the driver. Since driver relies on Q-Pairs to
allocate FC-NVMe resources, use existing module parameter to create
Q-Pairs when FC-NVMe is enabled.

Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_os.c