diff options
author | Daniele Di Proietto <diproiettod@vmware.com> | 2016-08-09 17:01:15 +0100 |
---|---|---|
committer | Daniele Di Proietto <diproiettod@vmware.com> | 2016-08-12 19:32:12 -0700 |
commit | 56abcf497b5615d2c30f62bec5af81a38145ecbc (patch) | |
tree | 058f5f5685ebf8ee24905178a39b8da20f87fc89 /vswitchd/vswitch.xml | |
parent | ad44446da2485269fc49292dfe858424238bb48d (diff) | |
download | openvswitch-56abcf497b5615d2c30f62bec5af81a38145ecbc.tar.gz |
vswitchd: Introduce 'mtu_request' column in Interface.
The 'mtu_request' column can be used to set the MTU of a specific
interface.
This column is useful because it will allow changing the MTU of DPDK
devices (implemented in a future commit), which are not accessible
outside the ovs-vswitchd process, but it can be used for kernel
interfaces as well.
The current implementation of set_mtu() in netdev-dpdk is removed
because it's broken. It will be reintroduced by a subsequent commit on
this series.
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Ilya Maximets <i.maximets@samsung.com>
Diffstat (limited to 'vswitchd/vswitch.xml')
-rw-r--r-- | vswitchd/vswitch.xml | 52 |
1 files changed, 38 insertions, 14 deletions
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 65acdc767..780bd2d2f 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -2380,6 +2380,44 @@ </column> </group> + <group title="MTU"> + <p> + The MTU (maximum transmission unit) is the largest amount of data + that can fit into a single Ethernet frame. The standard Ethernet + MTU is 1500 bytes. Some physical media and many kinds of virtual + interfaces can be configured with higher MTUs. + </p> + + <p> + A client may change a non-internal interface MTU by filling in + <ref column="mtu_request"/>. Internal interfaces MTU, instead, is set + by Open vSwitch to the minimum of non-internal interfaces MTU in the + bridge. In any case, Open vSwitch then reports in <ref column="mtu"/> + the currently configured value. + </p> + + <column name="mtu"> + <p> + This column will be empty for an interface that does not + have an MTU as, for example, some kinds of tunnels do not. + </p> + + <p> + Open vSwitch sets this column's value, so other clients should treat + it as read-only. + </p> + </column> + + <column name="mtu_request" + type='{"type": "integer", "minInteger": 1}'> + <p> + Requested MTU (Maximum Transmission Unit) for the interface. A client + can fill this column to change the MTU of a non-internal interface. + </p> + </column> + + </group> + <group title="Interface Status"> <p> Status information about interfaces attached to bridges, updated every @@ -2422,20 +2460,6 @@ </p> </column> - <column name="mtu"> - <p> - The MTU (maximum transmission unit); i.e. the largest - amount of data that can fit into a single Ethernet frame. - The standard Ethernet MTU is 1500 bytes. Some physical media - and many kinds of virtual interfaces can be configured with - higher MTUs. - </p> - <p> - This column will be empty for an interface that does not - have an MTU as, for example, some kinds of tunnels do not. - </p> - </column> - <column name="lacp_current"> Boolean value indicating LACP status for this interface. If true, this interface has current LACP information about its LACP partner. This |