Skip to content

Support WRED profiles on system ports #2851

Closed
vmittal-msft wants to merge 2 commits intomasterfrom
vmittal/wred_profile_2
Closed

Support WRED profiles on system ports #2851
vmittal-msft wants to merge 2 commits intomasterfrom
vmittal/wred_profile_2

Conversation

@vmittal-msft
Copy link
Copy Markdown
Contributor

What I did
Added support to apply wred profile on system ports

Why I did it
remote system ports were missing wred profile

How I verified it
Tested on sonic chassis

Details if related

@vmittal-msft
Copy link
Copy Markdown
Contributor Author

#2832

@vmittal-msft
Copy link
Copy Markdown
Contributor Author

@kenneth-arista @cheryls-arista please review.

}
}
else
{
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like the difference here is the param passed to isPortAdminUp. Can you change it to the following?

            auto &tmp_port_name = local_port ? local_port_name : port_name;
            if (gPortsOrch->isPortAdminUp(tmp_port_name)) {
                SWSS_LOG_WARN("Queue profile '%s' applied after port %s is up", key.c_str(), port_name.c_str());
            }

@kenneth-arista
Copy link
Copy Markdown
Contributor

portsorch.cpp change looks fine. I don't have enough background to review the other changes.

@vmittal-msft
Copy link
Copy Markdown
Contributor Author

Opened following PR to take care of this issue -
#2855

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.

3 participants