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

[buffermgr] Fix port breakout fail due to buffer configuration can't … #3024

Closed
wants to merge 2 commits into from

Conversation

chiourung
Copy link
Contributor

…be removed

Reproduce step:

  1. Add default buffer configuration for all ports.
  2. Do port breakout for port 1.
  3. Do port breakout for port 2 and would be failed.
Running Breakout Mode : 1x100G[40G](4)
Target Breakout Mode : 1x400G

Ports to be deleted :
{
   "Ethernet120": "100000"
}
Ports to be added :
{
   "Ethernet120": "400000"
}
!!!  Critical Failure, Ports                     are not Deleted from ASIC DB, Bail Out  !!!
Ports are present in ASIC DB after 60 secs
Ports are present in ASIC DB after 60 secs
[ERROR] Port breakout Failed!!! Opting Out
Failed to break out Port. Error:

The first port breakout would send DEL port event and buffermgr would keep in while loop.
The second port breakout would remove buffer configuration first, but would be failed.

What I did
It should erase the iterator for non-important event.

Why I did it

How I verified it
Do port breakout for more than two ports.

Details if related

@chiourung
Copy link
Contributor Author

Fix in 91bacca

@chiourung chiourung closed this Jul 8, 2024
@chiourung chiourung deleted the buffermgr branch July 8, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant