diff options
author | Saurav Kashyap <saurav.kashyap@cavium.com> | 2018-04-25 15:08:57 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-08 06:57:10 +0200 |
commit | f9a4a7f2c0f79d782aea04c05eb75fcee9f3e506 (patch) | |
tree | e6457f019fd0c81c486e905503ec54d7f760d1fa /drivers/scsi/qedf | |
parent | scsi: qedf: Add task id to kref_get_unless_zero() debug messages when flushin... (diff) | |
download | linux-f9a4a7f2c0f79d782aea04c05eb75fcee9f3e506.tar.xz linux-f9a4a7f2c0f79d782aea04c05eb75fcee9f3e506.zip |
scsi: qedf: Remove setting DCBX pending during soft context reset
PROBLEM DESCRIPTION:
According to the logs, STAG was changing and it was triggering soft
reset. In soft reset we used to virtual link down and up and also we
were disabling DCBx flag. Since this was virtual link flap, DCBx never
used to converge again.
SOLUTION:
Code change is to remove disabling DCBx flag from soft reset.
Signed-off-by: Saurav Kashyap <saurav.kashyap@cavium.com>
Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedf')
-rw-r--r-- | drivers/scsi/qedf/qedf_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index c3fbab059599..2da6ba82cc6f 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -734,7 +734,6 @@ static void qedf_ctx_soft_reset(struct fc_lport *lport) /* For host reset, essentially do a soft link up/down */ atomic_set(&qedf->link_state, QEDF_LINK_DOWN); - atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING); queue_delayed_work(qedf->link_update_wq, &qedf->link_update, 0); qedf_wait_for_upload(qedf); |