Home
last modified time | relevance | path

Searched hist:"53 c51adbe6f83eba94fd39000f98cf4235a89e4c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_fip.cdiff 53c51adbe6f83eba94fd39000f98cf4235a89e4c Wed May 31 08:33:51 CDT 2017 Chad Dupuis <chad.dupuis@cavium.com> 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>