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

Independent Module - swss code to support port SI configuration per speed #7

Closed
wants to merge 11 commits into from

Conversation

tshalvi
Copy link
Owner

@tshalvi tshalvi commented Sep 21, 2023

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

@Junchao-Mellanox
Copy link

I did not finish the review, too many format change. Please fix the format issue first and then I will review rest of them.

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)

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 tshalvi marked this pull request as draft October 12, 2023 09:06
@prgeor
Copy link

prgeor commented Nov 17, 2023

@tshalvi is this PR still be worked on? I see its in DRAFT mode?

@tshalvi tshalvi closed this Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants