Reduce rate limit for short-packet messages even further.
authorBen Pfaff <blp@nicira.com>
Wed, 17 Dec 2008 00:29:36 +0000 (16:29 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 17 Dec 2008 00:41:25 +0000 (16:41 -0800)
These messages appear a lot in a virtualized environment, and they really
are not meaningful there.

lib/flow.c

index 70a9c4b2061f0df7b5f58d04166ce55e98f3400c..5fddf1fecb2d095a02e723aed69faae0de736875 100644 (file)
@@ -107,7 +107,7 @@ flow_extract(struct ofpbuf *packet, uint16_t in_port, struct flow *flow)
          * can end up with runt frames, e.g. frames that only ever passed
          * through virtual network devices and never touched a physical
          * Ethernet. */
-        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(5, 60);
+        static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
         VLOG_DBG_RL(&rl, "packet length %zu less than minimum size %d",
                     b.size, ETH_TOTAL_MIN);
     }