X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fovs-vswitchd.conf.5.in;h=e7a1739711da8d84db41b5dd2e517f5ed4f51841;hb=55bc65533fe868666f6ea8539f2a1b30da964abf;hp=af3ff27f5ec37a3022a81c6590294cac690b5406;hpb=8398cf7efc3979cd6c8152915a584c13873ee322;p=openvswitch diff --git a/vswitchd/ovs-vswitchd.conf.5.in b/vswitchd/ovs-vswitchd.conf.5.in index af3ff27f..e7a17397 100644 --- a/vswitchd/ovs-vswitchd.conf.5.in +++ b/vswitchd/ovs-vswitchd.conf.5.in @@ -523,7 +523,8 @@ the connection to the controller stays down long enough, no packets can pass through the switch at all. .IP The first of these that is set takes effect. -If the value is \fBstandalone\fR, \fBovs\-vswitchd\fR will take over +If the value is \fBstandalone\fR, or if neither of these settings +is set, \fBovs\-vswitchd\fR will take over responsibility for setting up flows when no message has been received from the controller for three times the inactivity probe interval (see above). In this mode, @@ -532,9 +533,8 @@ MAC-learning switch. \fBovs\-vswitchd\fR will continue to retry connecting to the controller in the background and, when the connection succeeds, it discontinues its standalone behavior. .IP -If this option is set to \fBsecure\fR, or if neither of these settings -is set, \fBovs\-vswitchd\fR will not set up flows on its own when the -controller connection fails. +If this option is set to \fBsecure\fR, \fBovs\-vswitchd\fR will not +set up flows on its own when the controller connection fails. .IP "\fBbridge.\fIname\fB.controller.max-backoff=\fIsecs\fR" Sets the maximum time between attempts to connect to the controller to \fIsecs\fR, which must be at least 1. The actual interval between @@ -546,6 +546,19 @@ These settings configure how the switch applies a ``token bucket'' to limit the rate at which packets in unknown flows are forwarded to the OpenFlow controller for flow-setup processing. This feature prevents a single bridge from overwhelming a controller. +.PP +In addition, when a high rate triggers rate-limiting, +\fBovs\-vswitchd\fR queues controller packets for each port and +transmits them to the controller at the configured rate. The number +of queued packets is limited by a ``burst size'' parameter. The +packet queue is shared fairly among the ports on a bridge. +.PP +\fBovs\-vswitchd\fR maintains two such packet rate-limiters per +bridge. One of these applies to packets sent up to the controller +because they do not correspond to any flow. The other applies to +packets sent up to the controller by request through flow actions. +When both rate-limiters are filled with packets, the actual rate that +packets are sent to the controller is up to twice the specified rate. .IP "\fBbridge.\fIname\fB.controller.rate-limit=\fIrate\fR" .IQ "\fBmgmt.rate-limit=\fIrate\fR" Limits the maximum rate at which packets will be forwarded to the