Add sai_mdio_access_clause22=1 in td3x2-a720dt-48s-flex.config.bcm#11303
Merged
lguohan merged 2 commits intosonic-net:masterfrom Jul 27, 2022
Merged
Add sai_mdio_access_clause22=1 in td3x2-a720dt-48s-flex.config.bcm#11303lguohan merged 2 commits intosonic-net:masterfrom
lguohan merged 2 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Jiahua Wang <jiahua.wang@broadcom.com>
Collaborator
|
@jiahua-wang , can you check the build failure? |
Contributor
Author
|
I see that |
Signed-off-by: Jiahua Wang <jiahua.wang@broadcom.com>
lguohan
approved these changes
Jul 13, 2022
Contributor
|
@jiahua-wang can you update these descriptions in the PR? |
prgeor
approved these changes
Jul 15, 2022
kcudnik
approved these changes
Jul 18, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Jiahua Wang jiahua.wang@broadcom.com
Why I did it
The sai switch api as of now only has "switch_mdio_read/switch_mdio_write" functions. SAI needs another configuration parameter to distinguish mdio access clause 22 from clause 45.
How I did it
Adding the new soc property "sai_mdio_access_clause22" will allow the mdio device using the mdio clause 22 access with the same sai switch api functions "switch_mdio_read/switch_mdio_write".
How to verify it
On a platform with mdio clause 22 device connected to broadcom NPU mdio bus, PAI/gearbox will only work with the new soc property "sai_mdio_access_clause22=1".
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)