Re: [PATCH 08/15] qedf: Use same logic for SCSI host reset and FC lip_reset.

2017-05-24 Thread Bart Van Assche
On Tue, 2017-05-23 at 06:19 -0700, Dupuis, Chad wrote: > 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

[PATCH 08/15] qedf: Use same logic for SCSI host reset and FC lip_reset.

2017-05-23 Thread Dupuis, Chad
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