On Sat, 12 Feb 2022 08:31:20 -0800, James Smart wrote:
When connected point to point, the driver does not know the FC4's supported by the other end. In Fabrics, it can query the nameserver. Thus the driver must send PRLI's for the FC4s it supports and enable support based on the acc(ept) or rej(ect) of the respective FC4 PRLI. Currently the driver supports SCSI and NVMe PRLI's.
Unfortunately, although the behavior is per standard, many devices have come to expect only SCSI PRLI's. In this particular example, the NVMe PRLI is properly RJT'd but the target decided that it must LOGO after seeing the unexpected NVMe PRLI. The LOGO causes the sequence to restart and login is now in an infinite failure loop.
[...]
Applied to 5.17/scsi-fixes, thanks!
[1/1] lpfc: fix pt2pt nvme PRLI reject LOGO loop https://git.kernel.org/mkp/scsi/c/7f4c5a26f735