]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Don't process RSCNs for a vport on the same physical adapter.
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 8 Feb 2013 06:58:01 +0000 (01:58 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 14:31:24 +0000 (14:31 +0000)
commiteea3c2f8b54f4a56b7fe84d86c333f5d27112c71
tree52571a3d3ea98c29762ef03bd9fbe25ced7b8c86
parent0a25a2da33a28f07b6a5d83c1c740a84cdab1c26
[SCSI] qla2xxx: Don't process RSCNs for a vport on the same physical adapter.

Currently,the driver is processes RSCNs for each new NPIV ports that is created.
Processing the RSCN includes a name server query to see what has changed at the
name server side.  The name server query is performed by the physical port and
each virtual port on the physical adapter (since the RSCN is passed to each
virtual port for processing).  As the number of virtual ports being created
increases, this causes a lot of traffic and busies the firmware.

Processing the RSCN for a virtual port we already have a priori knowledge of is
not necessary so check the 24-bit fabric ID of the RSCN entry and skip
processing it if the RSCN is for a virtual port we already know about.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c