]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI
authorRoman Bolshakov <r.bolshakov@yadro.com>
Mon, 25 Nov 2019 16:57:01 +0000 (19:57 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Dec 2019 23:29:34 +0000 (18:29 -0500)
commitaf22f0c7b052c5c203207f1e5ebd6aa65f87c538
treeca72193051ee873e2ea4fa5e66c0604215f8889d
parentdabc5ec915f3a2c657ecfb529cd3d4ec303a4412
scsi: qla2xxx: Ignore PORT UPDATE after N2N PLOGI

PORT UPDATE asynchronous event is generated on the host that issues PLOGI
ELS (in the case of higher WWPN). In that case, the event shouldn't be
handled as it sets unwanted DPC flags (i.e. LOOP_RESYNC_NEEDED) that
trigger link flap.

Ignore the event if the host has higher WWPN, but handle otherwise.

Cc: Quinn Tran <qutran@marvell.com>
Link: https://lore.kernel.org/r/20191125165702.1013-13-r.bolshakov@yadro.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>
drivers/scsi/qla2xxx/qla_mbx.c