-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Skip configuring buffer and QoS config on recirc ports #7869
Skip configuring buffer and QoS config on recirc ports #7869
Conversation
QoS config is not supported on recirc port yet with DNX SAI. Failing to config QoS on recirc port results in swss to exit unexpectly. So skip QoS config on recirc port for now.
Is this still needed? |
@rlhui We will confirm if this is still needed when testing PFC + PFCWD with SAI 5.2. |
looks good. |
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.
Can you explore adding a unit test for this.
@ysmanman - was unit test added? Thanks. |
@rlhui @smaheshm Let me check if this is still issue in SAI 6.0.0.13. If it's, I will add the requested unit test. |
@ysmanman we will still need this fix. 202106 release is using SAI 5.x |
@smaheshm Thanks. I committed the test change just now. |
@ysmanman Can you debug failure, looks like related to your changes. |
…man/sonic-buildimage into disable-qos-on-recirc-port
Is there a difference in the sample output between py2 and py3. If so, why? Is it possible to have one sample output for both qos and buffer. |
@smaheshm yes, buffer sample outputs of py2 & py3 are different. The differences are because ports are iterated with different ordering. Regarding " Is it possible to have one sample output for both qos and buffer.", qos and buffer outputs are generated by different template files, i.e., qos.json.j2 and buffer.json.j2. So it seems reasonable to have separate sample output. Also, existing tests use separate sample outputs too, e.g., qos-dell6100.json and buffers-dell6100.json. |
@ysmanman Thanks for adding the test case and keeping up the quality. |
Buffer or QoS config is not supported on recirc ports with today's DNX SAI. Failing to config buffer or QoS on recirc ports results in swss to exit unexpectly. So skip buffer and QoS config on recirc ports for now.
Why I did it
DNX SAI does not support to configure buffer and QoS on recirc ports today. Failing to configure buffer or QoS on recirc port results in SWSS to exit unexpectedly.
How I did it
We skipped configuring buffer and QoS on recirc ports for now. We can revert this change once SAI support is ready.
How to verify it
SWSS container exited unexpectedly when the above error encounters.
SWSS container came up fine with the fix mentioned above.
Which release branch to backport (provide reason below if selected)
Description for the changelog
A picture of a cute animal (not mandatory but encouraged)