Skip to content

Set LAG mtu value based on kernel netlink msg#922

Merged
yxieca merged 2 commits intosonic-net:masterfrom
prsunny:teammtu
Jun 4, 2019
Merged

Set LAG mtu value based on kernel netlink msg#922
yxieca merged 2 commits intosonic-net:masterfrom
prsunny:teammtu

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
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
* Update mtu value based on kernel netlink msg

* Push the calculated MTU size into the fvVector
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