Skip to content

Commit

Permalink
[CMIS] Add a new condition - when we can skip re-init flow for SW-con…
Browse files Browse the repository at this point in the history
…trolled ports in case of fastboot

Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
  • Loading branch information
vadymhlushko-mlnx committed May 21, 2024
1 parent 39a436b commit f93d298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic-xcvrd/xcvrd/xcvrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ def task_worker(self):

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

0 comments on commit f93d298

Please sign in to comment.