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

[202205][macsec]: Set MTU for MACsec (#2398) #2466

Merged
merged 1 commit into from
Sep 24, 2022

Conversation

Pterosaur
Copy link
Contributor

@Pterosaur Pterosaur commented Sep 23, 2022

Signed-off-by: Ze Gan [email protected]

What I did
Set extra MTU for MACsec enabled port.

Why I did it
MACsec frame will expend the packet with MACsec SecTAG, Otherwise if a packet length equals the MTU which will be dropped by SAI port.

How I verified it
Assume 9100 is the MTU, Check by the command ping -s 9100 10.0.0.57

Details if related
Cherry-pick from #2398

What I did
Set extra MTU for MACsec enabled port.

Why I did it
MACsec frame will expend the packet with MACsec SecTAG, Otherwise if a packet length equals the MTU which will be dropped by SAI port.

Signed-off-by: Ze Gan <[email protected]>
Co-authored-by: Junhua Zhai <[email protected]>
@Pterosaur Pterosaur marked this pull request as ready for review September 23, 2022 06:09
@Pterosaur Pterosaur merged commit 3dcd6ff into sonic-net:202205 Sep 24, 2022
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.

2 participants