-
Notifications
You must be signed in to change notification settings - Fork 19
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
MTU fix for cmd-forwarder-vpp#557 #554
Conversation
Signed-off-by: Ed Warnicke <[email protected]>
} | ||
|
||
func setVPPL3MTU(ctx context.Context, conn *networkservice.Connection, vppConn api.Connection, isClient bool) error { | ||
func setVPPMTU(ctx context.Context, conn *networkservice.Connection, vppConn api.Connection, isClient bool) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Abandon setting the LinkMTU entirely as it no longer works remotely as expected.
This appears to be due to changes in VPP driven by changes in DPDK on MTU handling no longer following 802.3 on MTU handling.
// inner ethernet header - 14 bytes | ||
// optional overhead for 802.1q vlan tags - 4 bytes | ||
// total - 74 bytes | ||
return 74 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctly handle overhead for VXLAN (previously we'd only been handling for IPv4 with no available overhead for 802.1q tags).
// 8-byte nonce | ||
// 16-byte authentication tag | ||
// 80 bytes total | ||
return 80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctly handle overhead for IPv4 case for wireguard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All changes are looking good.
@glazychev-art I think it'd be interested to look at these changes for you.
…k-vpp@main PR link: networkservicemesh/sdk-vpp#554 Commit: dc652f0 Author: Ed Warnicke Date: 2022-04-11 13:50:40 -0500 Message: - MTU fix for cmd-forwarder-vpp#557 (#554) Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#554 Commit: dc652f0 Author: Ed Warnicke Date: 2022-04-11 13:50:40 -0500 Message: - MTU fix for cmd-forwarder-vpp#557 (#554) Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#554 Commit: dc652f0 Author: Ed Warnicke Date: 2022-04-11 13:50:40 -0500 Message: - MTU fix for cmd-forwarder-vpp#557 (#554) Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#554 Commit: dc652f0 Author: Ed Warnicke Date: 2022-04-11 13:50:40 -0500 Message: - MTU fix for cmd-forwarder-vpp#557 (#554) Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#554 Commit: dc652f0 Author: Ed Warnicke Date: 2022-04-11 13:50:40 -0500 Message: - MTU fix for cmd-forwarder-vpp#557 (#554) Signed-off-by: NSMBot <[email protected]>
…k-vpp@main PR link: networkservicemesh/sdk-vpp#554 Commit: dc652f0 Author: Ed Warnicke Date: 2022-04-11 13:50:40 -0500 Message: - MTU fix for cmd-forwarder-vpp#557 (#554) Signed-off-by: NSMBot <[email protected]>
Issue: networkservicemesh/cmd-forwarder#557 Related PR: networkservicemesh#554 The L3 MTU is set based on link L2 mtu and should not modified. Signed-off-by: Laszlo Kiraly <[email protected]>
Issue: networkservicemesh/cmd-forwarder#557 Related PR: #554 The L3 MTU is set based on link L2 mtu and should not modified. Signed-off-by: Laszlo Kiraly <[email protected]>
Signed-off-by: Ed Warnicke [email protected]