summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authornickcooper-zhangtonghao <nic@opencloud.tech>2016-12-11 20:48:57 -0800
committerBen Pfaff <blp@ovn.org>2016-12-12 17:07:48 -0800
commit06ca9597a63ea109d1e66ba09c9a28b56f9df6c9 (patch)
treef0d9090273db275e85d76fec02018053b8ac0dd9 /vswitchd
parent56edfb185bd03910d95e21eeb0f1a9cc5ed3fafd (diff)
downloadopenvswitch-06ca9597a63ea109d1e66ba09c9a28b56f9df6c9.tar.gz
vswitch.xml: Document reasonable range for MTU.
According to RFC 791, every internet module must be able to forward a datagram of 68 octets without further fragmentation. This is because an internet header may be up to 60 octets, and the minimum fragment is 8 octets. The maximum size of IP packets is 65535 bytes. The range of MTU values allowes for the MTU configuration parameter is 68 to 65535. Signed-off-by: nickcooper-zhangtonghao <nic@opencloud.tech> [blp@ovn.org changed this to just a documentation patch] Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/vswitch.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index d10fc1def..b4af5a58e 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -2396,6 +2396,12 @@
</p>
<p>
+ RFC 791 requires every internet module to be able to forward a
+ datagram of 68 octets without further fragmentation. The maximum
+ size of an IP packet is 65535 bytes.
+ </p>
+
+ <p>
If this is not set and if the interface has <code>internal</code>
type, Open vSwitch will change the MTU to match the minimum of the
other interfaces in the bridge.