Re: [PATCH] ibmvfc: Avoid unnecessary port relogin

2018-03-14 Thread Martin K. Petersen
Brian, > Following an RSCN, ibmvfc will issue an ADISC to determine if the > underlying target has changed, comparing the SCSI ID, WWPN, and WWNN > to determine how to handle the rport in discovery. However, the > comparison of the WWPN and WWNN was performing a memcmp between a big > endian

[PATCH] ibmvfc: Avoid unnecessary port relogin

2018-03-14 Thread Brian King
Following an RSCN, ibmvfc will issue an ADISC to determine if the underlying target has changed, comparing the SCSI ID, WWPN, and WWNN to determine how to handle the rport in discovery. However, the comparison of the WWPN and WWNN was performing a memcmp between a big endian field against a CPU