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 70a9c4b..5fddf1f 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);
     }