]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Reregister FPIN types if ELS_RDF is received from fabric controller
authorJames Smart <jsmart2021@gmail.com>
Fri, 14 May 2021 19:55:58 +0000 (12:55 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 22 May 2021 03:23:28 +0000 (23:23 -0400)
commit5e794f46e0ea2c87fbd69e8e1f8d10af84f42026
treee07dcc057759986f63dbd6ae557e5ee7efac1b00
parent0a263f7820b465225b55696efaf29b80b11e1119
scsi: lpfc: Reregister FPIN types if ELS_RDF is received from fabric controller

FC-LS-5 specifies that a received RDF implies a possible change to fabric
supported diagnostic functions. Endpoints are to re-perform the RDF
exchange with the fabric to enable possible new features or adapt to
changes in values.

This patch adds the logic to RDF receive to re-perform the RDF exchange
with the switch.

Link: https://lore.kernel.org/r/20210514195559.119853-11-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.h
drivers/scsi/lpfc/lpfc_els.c