summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorHimanshu Madhani2018-09-04 23:19:17 +0200
committerMartin K. Petersen2018-09-12 02:28:08 +0200
commitd4f7a16aeca6f9f07343a39b341bf7a2fe452f30 (patch)
tree6b0d2d2b223b4a02cc38d092106744b4739b1d31 /drivers/scsi/qla2xxx/qla_os.c
parentscsi: qla2xxx: Reduce holding sess_lock to prevent CPU lock-up (diff)
downloadkernel-qcow2-linux-d4f7a16aeca6f9f07343a39b341bf7a2fe452f30.tar.gz
kernel-qcow2-linux-d4f7a16aeca6f9f07343a39b341bf7a2fe452f30.tar.xz
kernel-qcow2-linux-d4f7a16aeca6f9f07343a39b341bf7a2fe452f30.zip
scsi: qla2xxx: Remove ASYNC GIDPN switch command
Using GPNFT/GNNFT command will be able to cover switch database with less number of scans. This patch removes Get NportID with provided WWPN/GIDPN switch command. By making this change, in large fabric with lots of remote port or NPIV ports with noisy SAN, the number of GIDPN commands issued by a port when it detects large number of remote ports going away or coming back, can overwhelmn the switch and it can becomde unresponsive. In a case where the fabric has not change, GIDPN is not required. Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index b8b7415bc59d..842456132e27 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -5032,9 +5032,6 @@ qla2x00_do_work(struct scsi_qla_host *vha)
case QLA_EVT_AENFX:
qlafx00_process_aen(vha, e);
break;
- case QLA_EVT_GIDPN:
- qla24xx_async_gidpn(vha, e->u.fcport.fcport);
- break;
case QLA_EVT_GPNID:
qla24xx_async_gpnid(vha, &e->u.gpnid.id);
break;