Skip to content

Commit

Permalink
Force DP to remain in DpInitialized State state on admin shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
prgeor committed May 6, 2022
1 parent 08ba225 commit 70e754e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sonic-xcvrd/xcvrd/xcvrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,8 @@ def task_worker(self):
self.log_notice("{} Forcing Tx laser OFF".format(lport))
# Force DataPath re-init
api.tx_disable_channel(host_lanes, True)
self.port_dict[lport]['cmis_state'] = self.CMIS_STATE_READY
continue

appl = self.get_cmis_application_desired(api, host_lanes, host_speed)
if appl < 1:
Expand Down

0 comments on commit 70e754e

Please sign in to comment.