linux-stable/drivers/scsi/qedf
Chad Dupuis 53c51adbe6 scsi: qedf: Look at all descriptors when processing a clear virtual link.
If there are multiple descriptors for a particular type in a clear virtual
link we receive, we will not process it correctly but rather take the last
value. This can cause us not to not flap the virtual link as the value from
the descriptors that we compare against the our stored FCF or fc_lport values
may not match.

Change this to do a comparison when processing the each descriptor instead of at
the end and then set a bool if we need to do the reset.

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-06-12 20:48:06 -04:00
..
drv_fcoe_fw_funcs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_fcoe_fw_funcs.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_scsi_fw_funcs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_scsi_fw_funcs.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
Kconfig
Makefile qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qedf.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_attr.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_dbg.c
qedf_dbg.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_debugfs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_els.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_fip.c scsi: qedf: Look at all descriptors when processing a clear virtual link. 2017-06-12 20:48:06 -04:00
qedf_hsi.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_io.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
qedf_main.c scsi: qedf: Honor qed_ops->common->set_fp_int() return code. 2017-06-12 20:48:05 -04:00
qedf_version.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00