X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;ds=sidebyside;f=vswitchd%2Fvswitch.xml;h=932e4b287b6113aa3b7a1a1f346a7bc463a6a2f9;hb=526df7d8543f7f651059338e42f409f04bb9970b;hp=2889a4105511ae473c547d1e3770d1a4dad8aded;hpb=4abb8608afb4000726adf9e3a09da26874880fe3;p=cascardo%2Fovs.git
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 2889a4105..932e4b287 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -72,6 +72,22 @@
host as displayed by
+ Interval for updating statistics to the database, in milliseconds.
+ This option will affect the update of the
+ Default value is 5000 ms.
+
+ Getting statistics more frequently can be achieved via OpenFlow.
+
@@ -123,39 +139,44 @@
- A number of flows as a nonnegative integer. This sets number of
- flows at which eviction from the datapath flow table will be
- triggered. If there are a large number of flows then increasing this
- value to around the number of flows present can result in reduced CPU
- usage and packet loss.
+ The maximum
+ number of flows allowed in the datapath flow table. Internally OVS
+ will choose a flow limit which will likely be lower than this number,
+ based on real time network conditions.
- The default is 2500. Values below 100 will be rounded up to 100.
+ The default is 200000.
- Specifies userspace behaviour for handling flow misses. This takes
- precedence over flow-eviction-threshold.
+ Specifies the number of rx queues to be created for each dpdk
+ interface. If not specified or specified to 0, one rx queue will
+ be created for each dpdk interface by default.
- xe host-list
.
+ statistics
+ column in the following tables: Port
, Interface
+
, Mirror
.
+
-
+ Specifies CPU mask for setting the cpu affinity of PMD (Poll
+ Mode Driver) threads. Value should be in the form of hex string,
+ similar to the dpdk EAL '-c COREMASK' option input or the 'taskset'
+ mask input.
+ auto
with-facets
without-facets
+ The lowest order bit corresponds to the first CPU core. A set bit + means the corresponding core is available and a pmd thread will be + created and pinned to it. If the input does not cover all cores, + those uncovered cores are considered not set. +
++ If not specified, one pmd thread will be created for each numa node + and pinned to any available core on the numa node by default.
@@ -163,8 +184,28 @@ type='{"type": "integer", "minInteger": 1}'>Specifies the number of threads for software datapaths to use for - handling new flows. The default is two less than the number of - online CPU cores (but at least 1). + handling new flows. The default the number of online CPU cores minus + the number of revalidators. +
+
+ This configuration is per datapath. If you have more than one
+ software datapath (e.g. some system
bridges and some
+ netdev
bridges), then the total number of threads is
+ n-handler-threads
times the number of software
+ datapaths.
+
+ Specifies the number of threads for software datapaths to use for
+ revalidating flows in the datapath. Typically, there is a direct
+ correlation between the number of revalidator threads, and the number
+ of flows allowed in the datapath. The default is the number of cpu
+ cores divided by four plus one. If n-handler-threads
is
+ set, the default changes to the number of cpu cores minus the number
+ of handler threads.
This configuration is per datapath. If you have more than one @@ -541,6 +582,56 @@ column="other-config" key="datapath-id"/> instead.)
+ Reports the version number of the Open vSwitch datapath in use. + This allows management software to detect and report discrepancies + between Open vSwitch userspace and datapath versions. (The column in the reports the Open vSwitch userspace version.) + The version reported depends on the datapath in use: +
+ +<unknown>
.
+ ovs-vswitchd
+ binary, this column reports <built-in>
. A
+ built-in datapath is by definition the same version as the rest of
+ the Open VSwitch userspace.
+ <unknown>
.
+
+ A version discrepancy between ovs-vswitchd
and the
+ datapath in use is not normally cause for alarm. The Open vSwitch
+ kernel datapaths for Linux and Hyper-V, in particular, are designed
+ for maximum inter-version compatibility: any userspace version works
+ with with any kernel version. Some reasons do exist to insist on
+ particular user/kernel pairings. First, newer kernel versions add
+ new features, that can only be used by new-enough userspace, e.g.
+ VXLAN tunneling requires certain minimal userspace and kernel
+ versions. Second, as an extension to the first reason, some newer
+ kernel versions add new features for enhancing performance that only
+ new-enough userspace versions can take advantage of.
+
OpenFlow10
will be used if this column is empty.
+ + List of OpenFlow protocols that may be used when negotiating + a connection with a controller. OpenFlow 1.0, 1.1, 1.2, and + 1.3 are enabled by default if this column is empty. +
+ ++ OpenFlow 1.4 is not enabled by default because its implementation is + missing features. +
+ +
+ OpenFlow 1.5 has the same risks as OpenFlow 1.4, but it is even more
+ experimental because the OpenFlow 1.5 specification is still under
+ development and thus subject to change. Pass
+ --enable-of15
to ovs-vswitchd
to allow
+ OpenFlow 1.5 to be enabled.
+
forwarding
, in seconds. By default, the
forwarding delay is 15 seconds.
+ The maximum number of seconds to retain a multicast snooping entry for + which no packets have been seen. The default is currently 300 + seconds (5 minutes). The value, if specified, is forced into a + reasonable range, currently 15 to 3600 seconds. +
++ The maximum number of multicast snooping addresses to learn. The + default is currently 2048. The value, if specified, is forced into + a reasonable range, currently 10 to 1,000,000. +
+
+ If set to false
, unregistered multicast packets are forwarded
+ to all ports.
+ If set to true
, unregistered multicast packets are forwarded
+ to ports connected to multicast routers.
+