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

[action] [PR:3060] Fix multi-asic behaviour for watermarkstat (#3060) #3641

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

mssonicbld
Copy link
Collaborator

  • Adds multi-asic support to watermarkstat, fixing watermark/persistent-watermark related commands.

Previously, the following commands were not behaving correctly on multi-asic devices,
as the '-n' namespace option was not available, and correct namespaces were not traversed
on multi-asic devices.

  • show buffer_pool watermark/persistent-watermark
  • show headroom-pool watermark/persistent-watermark
  • show priority-group persistent-watermark/watermark
  • show queue persistent-watermark/watermark

This change fixes multi-asic behaviour of CLI commands that rely on watermarkstat,
as listed above.

* Adds multi-asic support to watermarkstat, fixing watermark/persistent-watermark related commands.

Previously, the following commands were not behaving correctly on multi-asic devices,
as the '-n' namespace option was not available, and correct namespaces were not traversed
on multi-asic devices.

* show buffer_pool watermark/persistent-watermark
* show headroom-pool watermark/persistent-watermark
* show priority-group persistent-watermark/watermark
* show queue persistent-watermark/watermark

This change fixes multi-asic behaviour of CLI commands that rely on watermarkstat,
as listed above.
@mssonicbld
Copy link
Collaborator Author

Original PR: #3060

@mssonicbld mssonicbld merged commit 14386f9 into sonic-net:202405 Nov 30, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants