Skip to content

Commit f9a4a7f

Browse files
Saurav Kashyapmartinkpetersen
authored andcommitted
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 <[email protected]> Signed-off-by: Chad Dupuis <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 8025c84 commit f9a4a7f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/scsi/qedf/qedf_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,6 @@ static void qedf_ctx_soft_reset(struct fc_lport *lport)
734734

735735
/* For host reset, essentially do a soft link up/down */
736736
atomic_set(&qedf->link_state, QEDF_LINK_DOWN);
737-
atomic_set(&qedf->dcbx, QEDF_DCBX_PENDING);
738737
queue_delayed_work(qedf->link_update_wq, &qedf->link_update,
739738
0);
740739
qedf_wait_for_upload(qedf);

0 commit comments

Comments
 (0)