diff options
| author | Justin Pettit <jpettit@nicira.com> | 2010-01-15 17:27:28 -0800 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2010-01-15 19:02:13 -0800 |
| commit | d5cdde1f96992d0ba53f69eedaf4d089ded2a677 (patch) | |
| tree | 445bf88c31e264a26fb1d627827878dcc21e62a7 /lib/netdev-linux.c | |
| parent | c5a80c70c135a8c71969717cc7c4b06e6e7b715b (diff) | |
| download | openvswitch-d5cdde1f96992d0ba53f69eedaf4d089ded2a677.tar.gz | |
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.
Diffstat (limited to 'lib/netdev-linux.c')
| -rw-r--r-- | lib/netdev-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index d45349b29..ca452b593 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -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 |
