Fast datapath
This commit is contained in:
1 parent
e8f975e44f
commit
295876e1d1
6 files changed
+1303
-37
No files matched your search
+8
-12
@@ -45,18 +45,14 @@ import (
|
||||
// sleeveForwarder.mtu <-------------------------->
|
||||
|
||||
const (
|
||||
EthernetOverhead = 14
|
||||
UDPOverhead = 28 // 20 bytes for IPv4, 8 bytes for UDP
|
||||
DefaultMTU = 65535
|
||||
FragTestSize = 60001
|
||||
PMTUDiscoverySize = 60000
|
||||
FastHeartbeat = 500 * time.Millisecond
|
||||
SlowHeartbeat = 10 * time.Second
|
||||
FragTestInterval = 5 * time.Minute
|
||||
MTUVerifyAttempts = 8
|
||||
MTUVerifyTimeout = 10 * time.Millisecond // doubled with each attempt
|
||||
MaxMissedHeartbeats = 6
|
||||
HeartbeatTimeout = MaxMissedHeartbeats * SlowHeartbeat
|
||||
EthernetOverhead = 14
|
||||
UDPOverhead = 28 // 20 bytes for IPv4, 8 bytes for UDP
|
||||
DefaultMTU = 65535
|
||||
FragTestSize = 60001
|
||||
PMTUDiscoverySize = 60000
|
||||
FragTestInterval = 5 * time.Minute
|
||||
MTUVerifyAttempts = 8
|
||||
MTUVerifyTimeout = 10 * time.Millisecond // doubled with each attempt
|
||||
)
|
||||
|
||||
type SleeveOverlay struct {
|
||||
|
||||
Reference in new issue
Block a user