-
Notifications
You must be signed in to change notification settings - Fork 161
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
Prevent ET8001-2FR4 do a CMIS reinit even only with the alias name set #551
base: master
Are you sure you want to change the base?
Conversation
…set. Signed-off-by: chiourung_huang <[email protected]>
@mihirpat1 can you reviwe? |
@chiourung Can you please elaborate on the issue here? I am not able to understand on why CMIS init should be skipped if the interested lanes are in |
When breakout ET8001-2FR4 to 2x400G, and configstates would be ConfigSuccess for 4 lanes and ConfigUndefined for the others.
After Ethernet4 has been configured, the configuration states would be as follows
The configuration states of Ethernet0 would be ConfigUndefined. If the config state is ConfigUndefined, then it would do CMIS reinit for any set in the CONFIG_DB PORT table. |
@chiourung In this example,
|
|
@prgeor for viz |
Description
When breakout ET8001-2FR4 to 2x400G, and configstates would be ConfigSuccess for 4 lanes and ConfigUndefined for the others.
When execute the api "api.scs_apply_datapath_init(host_lanes_mask)" for 0xf0,
the config status of lanes 1...4 would be ConfigUndefined and the config status of lanes 5...8 would be ConfigSuccess.
If the config state is ConfigUndefined, then it would do CMIS reinit for any set in the CONFIG_DB PORT table.
If the config state is ConfigUndefined, then it would do CMIS reinit when restart pmon.
Motivation and Context
In is_cmis_application_update_required, it check if the application is the same and if datapath is DataPathActivated.
It would not happen that the state of the config is fail, but the dataptach is activated.
I think skip CMIS int when config state is ConfigUndefined is saved.
How Has This Been Tested?
Additional Information (Optional)