commit | 5cf446d2aa4b92a1c1f079416e17fa9edee76ef8 | [log] [tgz] |
---|---|---|
author | Chad Dupuis <chad.dupuis@cavium.com> | Wed May 31 06:33:55 2017 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 12 20:48:06 2017 -0400 |
tree | 8c8134230fadae9f5ba290109a729c5d94addc6c | |
parent | 2b82a62f52e647944446a3b85a4131b279c078fb [diff] |
scsi: qedf: Use same logic for SCSI host reset and FC lip_reset. We should be using the same logic to do a soft reset of the FCoE function whether it is initiated via sg_reset or the fc_host issue_lip attribute. Refactor the host reset and fcoe reset handlers to use the preferred logic which is currently contained in qedf_eh_host_reset(). Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>