]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: qla2xxx: Fix Nport ID display value
authorQuinn Tran <qutran@marvell.com>
Thu, 12 Sep 2019 18:09:11 +0000 (11:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Sep 2019 03:09:43 +0000 (23:09 -0400)
commit0aabb6b699f72dca96988d3f428e222f932dc889
treeaf84b6b8fb41aea891223417b6eaf9c7f6d3a3ce
parentf3f1938bb673b1b5ad182c4608f5f8a24921eea3
scsi: qla2xxx: Fix Nport ID display value

For N2N, the NPort ID is assigned by driver in the PLOGI ELS.  According to
FW Spec the byte order for SID is not the same as DID.

Link: https://lore.kernel.org/r/20190912180918.6436-8-hmadhani@marvell.com
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Tested-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_iocb.c