2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 22:35:15 +00:00

netdev: Increase default ingress policing burst size

The default burst rate was 10Kb.  This increases it to 1000kb, since
we were having problems getting traffic through at 10kb.  A better value
probably exists between these two points, but that will require
additional experimentation.
This commit is contained in:
Justin Pettit
2010-01-15 17:27:28 -08:00
parent c5a80c70c1
commit d5cdde1f96
2 changed files with 3 additions and 3 deletions

View File

@@ -1543,8 +1543,8 @@ netdev_linux_set_policing(struct netdev *netdev,
COVERAGE_INC(netdev_set_policing);
if (kbits_rate) {
if (!kbits_burst) {
/* Default to 10 kilobits if not specified. */
kbits_burst = 10;
/* Default to 1000 kilobits if not specified. */
kbits_burst = 1000;
}
/* xxx This should be more careful about only adding if it