scsi: libfc: Add FDMI-2 attributes
authorJaved Hasan <jhasan@marvell.com>
Thu, 3 Jun 2021 12:16:21 +0000 (05:16 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Jun 2021 04:03:56 +0000 (00:03 -0400)
commit82897fefab6811d006531cbc3a6aa03d23b8f8e3
treef0676d96a0e2e563aa6dd15f673f053c6c69522b
parentadb98ec72b7213f39cf83dae41d6137da33bde5a
scsi: libfc: Add FDMI-2 attributes

Add all attributes for RHBA and RPA registration.

Fallback mechanism is added between RBHA V2 and RHBA V1 attributes. In case
RHBA get fails for V2 attributes we fall back to V1 attribute registration.

Link: https://lore.kernel.org/r/20210603121623.10084-4-jhasan@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_encode.h
include/scsi/scsi_transport_fc.h