Skip to content

Commit f93d298

Browse files
[CMIS] Add a new condition - when we can skip re-init flow for SW-controlled ports in case of fastboot
Signed-off-by: vadymhlushko-mlnx <[email protected]>
1 parent 39a436b commit f93d298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonic-xcvrd/xcvrd/xcvrd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ def task_worker(self):
14221422

14231423
if self.port_dict[lport]['host_tx_ready'] != 'true' or \
14241424
self.port_dict[lport]['admin_status'] != 'up':
1425-
if is_fast_reboot:
1425+
if is_fast_reboot and self.check_datapath_state(api, host_lanes_mask, ['DataPathActivated']):
14261426
self.log_notice("{} Skip re-init flow".format(lport))
14271427
else:
14281428
self.log_notice("{} Forcing Tx laser OFF".format(lport))

0 commit comments

Comments
 (0)