mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
a8cf5dfeb4
commit
82820f0cf1
1 changed files with 1 additions and 0 deletions
|
@ -2092,6 +2092,7 @@ lpfc_fdmi_port_attr_fc4type(struct lpfc_vport *vport,
|
|||
|
||||
ae->un.AttrTypes[3] = 0x02; /* Type 1 - ELS */
|
||||
ae->un.AttrTypes[2] = 0x01; /* Type 8 - FCP */
|
||||
ae->un.AttrTypes[6] = 0x01; /* Type 40 - NVME */
|
||||
ae->un.AttrTypes[7] = 0x01; /* Type 32 - CT */
|
||||
size = FOURBYTES + 32;
|
||||
ad->AttrLen = cpu_to_be16(size);
|
||||
|
|
Loading…
Add table
Reference in a new issue