-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Exclude PIE ports from buffer and qos config #21036
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
Conversation
Signed-off-by: Zhixin Zhu <[email protected]>
@@ -115,6 +115,7 @@ def | |||
{%- set PORT_BP = [] %} | |||
{%- set PORT_DPC = [] %} | |||
{%- set SYSTEM_PORT_ALL = [] %} | |||
{%- set PORT_PIE = [] %} |
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.
Instead of PIE ports, can we have something like QOS_BYPASS_INTERNAL_PORT in a generic way? This can be repurposed for other use cases.
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.
Changed it to PORT_QOS_BYPASS which is more generic.
Signed-off-by: Zhixin Zhu <[email protected]>
@kperumalbfn I have updated PR to resolve comments. |
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
LGTM
Exclude pie ports from buffer and qos config Signed-off-by: Zhixin Zhu <[email protected]>
@kperumalbfn could you help add label to cherry-pick to 202405 and 202411? |
Cherry-pick PR to 202411: #21747 |
Hi @zhixzhu, what's the impact if this change is missing? |
@bingwang-ms PIE port doesn't support buffer and qos config, it will cause some SAI failure and syncd down if trying to config it. |
Is this change only required for Chassis? |
@bingwang-ms It is for 8122, not chassis. |
Exclude pie ports from buffer and qos config Signed-off-by: Zhixin Zhu <[email protected]>
Exclude pie ports from buffer and qos config Signed-off-by: Zhixin Zhu <[email protected]>
Why I did it
PIE ports are used for internal traffic (telemetry), not for regular data traffic, doesn't support buffer or qos config.
Work item tracking
How I did it
Exclude PIE ports from PORTS_ACTIVE.
How to verify it
config load_minigraph.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)