Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMIS] Skip re-init flow for SW-controlled ports in case of fastboot #479

Conversation

vadymhlushko-mlnx
Copy link
Contributor

Description

Skip the re-init flow for the SW-controlled ports in case of fastboot.
Because during fastboot the switch didn't reset the modules, so there is no need to reinitialize them.

Motivation and Context

To improve the fastboot data-plane disruption time.

How Has This Been Tested?

Run the sonic-mgmt/tests/platform_tests/test_advanced_reboot.py::test_fast_reboot

Additional Information (Optional)

@vadymhlushko-mlnx vadymhlushko-mlnx force-pushed the master-fastboot-skip-cmis-reinit branch 2 times, most recently from 9d01dfd to a20f465 Compare April 29, 2024 12:01
api.tx_disable_channel(media_lanes_mask, True)
self.update_port_transceiver_status_table_sw_cmis_state(lport, CMIS_STATE_READY)
continue
if is_fast_reboot:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vadymhlushko-mlnx why host_tx_ready is false during fast-reboot?

@vadymhlushko-mlnx vadymhlushko-mlnx force-pushed the master-fastboot-skip-cmis-reinit branch 2 times, most recently from bced7e7 to 1cc714e Compare April 30, 2024 10:59
@vadymhlushko-mlnx vadymhlushko-mlnx force-pushed the master-fastboot-skip-cmis-reinit branch from b8e7e42 to d9b01f3 Compare May 21, 2024 15:54
Signed-off-by: vadymhlushko-mlnx <vadymh@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants