]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Remove false FDMI NVMe FC-4 support for NPIV ports
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Apr 2022 22:19:59 +0000 (15:19 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Apr 2022 02:48:46 +0000 (22:48 -0400)
commitd113fe35ef8f134eb535aaa2e89359093eacd6ba
tree2dffe66a34352f1cd715d51031d7fd0c003ea894
parentfc8469c9550a2a8bb1ec64fd3785167583035455
scsi: lpfc: Remove false FDMI NVMe FC-4 support for NPIV ports

FDMI FC-4 Active Type for vports mistakenly shows NVMe support.

Add a check to only set the NVMe support bit for the physical port.

Link: https://lore.kernel.org/r/20220412222008.126521-18-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c