]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Restore physical port WWPN only, when port down detected for FA-WWPN port.
authorSawan Chandak <sawan.chandak@qlogic.com>
Thu, 9 Apr 2015 19:00:07 +0000 (15:00 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 15:43:07 +0000 (08:43 -0700)
commit4b62125b9a89dd1e3bc890f98c29cd3175fd7972
tree5ba56340118c25e01ef49486bedf649db1fdfcdd
parent80f5dd0e7f7a6d9b490cb9d4a63893eb6a369d4d
qla2xxx: Restore physical port WWPN only, when port down detected for FA-WWPN port.

For FA-WWPN is enabled port, if NPIV created on that port and,
if port link is brought down, then WWPN was restored from flash for both
physical and NPIV port. This will result in NPIV port and physical port
sharing same WWPN. Any application refreshing ports information  will
not be able to scan NPIV port because of this behavior. So while restoring WWPN,
only restore physical port WWPN.

Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_isr.c