Skip to content

Commit 82820f0

Browse files
jsmart-ghmartinkpetersen
authored andcommitted
scsi: lpfc: Fix NVME I+T not registering NVME as a supported FC4 type
When the driver send the RPA command, it does not send supported FC4 Type NVME to the management server. Encode NVME (type x28) in the AttribEntry in the RPA command. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent a8cf5df commit 82820f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/lpfc/lpfc_ct.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,7 @@ lpfc_fdmi_port_attr_fc4type(struct lpfc_vport *vport,
20922092

20932093
ae->un.AttrTypes[3] = 0x02; /* Type 1 - ELS */
20942094
ae->un.AttrTypes[2] = 0x01; /* Type 8 - FCP */
2095+
ae->un.AttrTypes[6] = 0x01; /* Type 40 - NVME */
20952096
ae->un.AttrTypes[7] = 0x01; /* Type 32 - CT */
20962097
size = FOURBYTES + 32;
20972098
ad->AttrLen = cpu_to_be16(size);

0 commit comments

Comments
 (0)