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

Reapply the fix to address set MTU > 1500 causing portmgrd crash on BRCM platforms #8472

Merged
merged 1 commit into from
Aug 15, 2021

Conversation

gechiang
Copy link
Collaborator

Why I did it

This is to address the issue (#8404)
The original fix which was introduced by (#3895) was removed when onboarding BRCM SAI 4.3 (#6526).
At that time this change was removed because there was another way to set the port default MTU to 9100 which caused this change being removed. It was most likely not anticipated that user may need to change the port MTU via CLI at which time this fix when not present will cause portmrgd to crash.
I have create a Case with BRCM (CS00012203989) to ask them to look into this issue to either take this change in and include it to all their future SAI releases and patch their current SAI releases or provide a better alternative to address this issue at which time BRCM team should revert this PR when raising their official fix to address the set interface MTU > 1500 causing portmgrd crash issue.

How I did it

Add back the same change done by (#3895)

How to verify it

Loaded the image and tested with the "sudo config interface mtu Ethernet0 1501" and observe MTU setting go through fine without causing any crash.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

Fix set MTU > 1500 on interface causing portmgrd crash on BRCM platforms

A picture of a cute animal (not mandatory but encouraged)

Copy link
Contributor

@smaheshm smaheshm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. wait for the builds to pass

@gechiang gechiang merged commit bbd7667 into sonic-net:master Aug 15, 2021
lguohan pushed a commit that referenced this pull request Aug 15, 2021
judyjoseph pushed a commit that referenced this pull request Aug 25, 2021
judyjoseph added a commit to judyjoseph/sonic-buildimage that referenced this pull request Jan 18, 2022
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Feb 15, 2022
praveen-li pushed a commit to praveen-li/sonic-buildimage that referenced this pull request Feb 15, 2022
…on BRCM platforms (sonic-net#8472)

Signed-off-by: Zhenggen Xu <[email protected]>

RB=2955650
G=lnos-reviewers
R=pchaudha,pmao,samaity,stexu,zxu
A=
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.

[Broadcom platform] CLI change MTU causes portmgrd crashed
4 participants