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

BRCM SAI 4.3.0.10-4 Fix _brcm_sai_indexed_data_get () with unexpected queue causing _brcm_sai_switch_assert () after warm reboot #6664

Merged
merged 1 commit into from
Feb 3, 2021

Conversation

gechiang
Copy link
Collaborator

@gechiang gechiang commented Feb 3, 2021

- Why I did it
Porting the same workaround frix from BRCM SAI 4.2.1.5-9 to SAI 4.3.0.10-4 to address the same WARM Reboot SYNCd crash issue.
See (#6374)

This is a known case filed with BRCM (CS00011729363) during SAI 4.2 time and the same fix was missing in 4.3 as well. We are porting this change in master branch that has moved on to SAI 4.3.0.10 release so that it will allow further feature validation/testing especially in the warm reboot area.
Once an official fix is provided by BRCM, we will then remove this in house fix and apply the official fix.
(Update 2/8/21: The workaround was blessed by BRCM so the workaround is official fix).

This PR fixes (#6655)

- How to verify it
Just perform warm reboot with any master code prior to this PR you should see SYNCd crash issue with something as the following in the syslog:

Feb 2 19:56:56.585774 str-s6100-acs-2 CRIT syncd#syncd: [none] SAI_API_SWITCH:_brcm_sai_switch_assert:558 ERROR: Assertion failed: (index[1] < __brcm_sai_index2_max[type].max2) at /__w/1/s/src/arch/brcm_sai_data_mgr.c:16869

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog
BRCM SAI 4.3.0.10-4 Fix _brcm_sai_indexed_data_get () with unexpected queue causing _brcm_sai_switch_assert () after warm reboot

… queue causing _brcm_sai_switch_assert () after warm reboot
@gechiang gechiang requested a review from lguohan as a code owner February 3, 2021 17:05
@gechiang gechiang requested a review from rlhui February 3, 2021 17:05
@gechiang gechiang merged commit f005888 into sonic-net:master Feb 3, 2021
deran1980 pushed a commit to deran1980/sonic-buildimage that referenced this pull request Feb 4, 2021
… queue causing _brcm_sai_switch_assert () after warm reboot (sonic-net#6664)
daall pushed a commit that referenced this pull request Feb 5, 2021
… queue causing _brcm_sai_switch_assert () after warm reboot (#6664)
daall added a commit that referenced this pull request Feb 6, 2021
…expected queue causing _brcm_sai_switch_assert () after warm reboot (#6664)"

This reverts commit 9f2a856.
daall pushed a commit that referenced this pull request Feb 6, 2021
… queue causing _brcm_sai_switch_assert () after warm reboot (#6664)
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.

3 participants