Skip to content

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

Merged
Pterosaur merged 1 commit intosonic-net:202205from
Pterosaur:202205_cp
Sep 24, 2022
Merged

[202205][macsec]: Set MTU for MACsec (#2398)#2466
Pterosaur merged 1 commit intosonic-net:202205from
Pterosaur:202205_cp

Conversation

@Pterosaur
Copy link
Copy Markdown
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 requested a review from prsunny as a code owner 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