]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: revise nvme max queues to be hdwq count
authorJames Smart <jsmart2021@gmail.com>
Mon, 11 Nov 2019 23:04:00 +0000 (15:04 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Nov 2019 03:21:33 +0000 (22:21 -0500)
commit7b1d8fb516481b54ee43a253aba93348a32be219
tree1e6b47180a4023df5cf72fec258eb480d06339bf
parente903d340d3409df1a722a208d6904bb0b6a57e8c
scsi: lpfc: revise nvme max queues to be hdwq count

Driver is setting the initiator nvme template with a max hw queues value of
the present cpu count which is odd. It should be registering the number of
hdwq queues (queues created on the adapter).

Change to set nvme tempate, in all cases, to the number of hardware queues.

Link: https://lore.kernel.org/r/20191111230401.12958-6-jsmart2021@gmail.com
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c