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

Set LAG mtu value based on kernel netlink msg #922

Merged
merged 2 commits into from
Jun 4, 2019

Conversation

prsunny
Copy link
Collaborator

@prsunny prsunny commented Jun 3, 2019

What I did
Set LAG mtu value based on kernel netlink msg along with admin and oper status

Why I did it
During initialization, the mtu attribute is not always present in LAG_TABLE. This change ensures that MTU is always set to APP DB as the same value as configured in kernel.

How I verified it
Check APP DB entry and verify syslog config

Details if related

@prsunny prsunny requested review from stcheng and yxieca June 3, 2019 22:26
Copy link
Contributor

@stcheng stcheng left a comment

Choose a reason for hiding this comment

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

needs further improvement

@yxieca yxieca merged commit 819a122 into sonic-net:master Jun 4, 2019
yxieca pushed a commit that referenced this pull request Jun 4, 2019
* Update mtu value based on kernel netlink msg

* Push the calculated MTU size into the fvVector
@prsunny prsunny deleted the teammtu branch February 7, 2020 22:56
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
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.

4 participants