diff options
author | Roman Bolshakov <r.bolshakov@yadro.com> | 2019-11-25 19:56:58 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-12-09 18:29:23 -0500 |
commit | fd1de5830a5abaf444cc4312871e02c41e24fdc1 (patch) | |
tree | 4b4d1164ff2055f06606635f845cce21a968ab36 /kernel | |
parent | 0334cdea1fba36fad8bdf9516f267ce01de625f7 (diff) | |
download | linux-fd1de5830a5abaf444cc4312871e02c41e24fdc1.tar.bz2 |
scsi: qla2xxx: Configure local loop for N2N target
qla2x00_configure_local_loop initializes PLOGI payload for PLOGI ELS using
Get Parameters mailbox command.
In the case when the driver is running in target mode, the topology is N2N
and the target port has higher WWPN, LOCAL_LOOP_UPDATE bit is cleared too
early and PLOGI payload is not initialized by the Get Parameters
command. That causes a failure of ELS IOCB carrying the PLOGI with 0x15 aka
Data Underrun error.
LOCAL_LOOP_UPDATE has to be set to initialize PLOGI payload.
Fixes: 48acad099074 ("scsi: qla2xxx: Fix N2N link re-connect")
Link: https://lore.kernel.org/r/20191125165702.1013-10-r.bolshakov@yadro.com
Acked-by: Quinn Tran <qutran@marvell.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions