-
Notifications
You must be signed in to change notification settings - Fork 0
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
Independent Module - swss code to support port SI configuration per speed #7
Conversation
I did not finish the review, too many format change. Please fix the format issue first and then I will review rest of them. |
01f790c
to
2730424
Compare
2730424
to
2500615
Compare
orchagent/portsorch.cpp
Outdated
SWSS_LOG_INFO("Creating serdes for port 0x%" PRIx64, port_id); | ||
SWSS_LOG_DEBUG("Creating serdes for port 0x%" PRIx64 " with the following SI parameters:", port_id); | ||
|
||
for (const auto &entry : serdes_attr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to keep this for loop for production code? As I can see it is only for debug purpose and we can find such information from log file /var/log/swss/swss.rec. I would suggest to remove them.
@tshalvi is this PR still be worked on? I see its in DRAFT mode? |
What I did
I added six new SI parameters to the relevant locations in SWSS and introduced a log to display the SI values sent by SONiC to SAI.
Why I did it
I made these additions to support the new SI parameters recently added to APP_DB.
How I verified it
I verified it using the existing unit tests, and I will be adding new unit tests in the near future.
Details if related
HLD: sonic-net/SONiC#1455