-
Notifications
You must be signed in to change notification settings - Fork 649
[chassis][voq] ignore ref counting for buffer queue for voq systems #4015
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
|
/azp run |
|
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.
Pull request overview
This PR optimizes buffer orchestration for VOQ-based systems by eliminating unnecessary port reference counting operations and fixing a key delimiter bug. VOQ switches use static system ports that don't require dynamic reference tracking, so skipping these operations avoids ref count issues during port speed changes.
Key Changes:
- Fixed APPL_DB key construction in
initVoqBufferReadyListto use correct delimiter consistently - Wrapped queue buffer ref counting logic with VOQ switch type check to skip for VOQ systems
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
|
/azp run |
Co-authored-by: Copilot <[email protected]>
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@ysmanman and @saksarav-nokia for viz... |
|
@arlakshm please rebase. |
|
@prsunny, can you please help signoff on this PR |
|
please rebase |
What I did
This PR updates bufferorch logic for VOQ-based systems to:
Stop performing per-queue port reference counting when applying buffer queue configurations on VOQ switches (system ports are static and do not require dynamic ref tracking).
Correct the appl DB key transformation for VOQ buffer ready list initialization to use the standard delimiter consistently instead of mixing config_db_key_delimiter and delimiter.
Why I did it
To avoid ref count issues when there is port speed change
How I verified it
Details if related