From: Ben Pfaff Date: Wed, 17 Dec 2008 00:29:36 +0000 (-0800) Subject: Reduce rate limit for short-packet messages even further. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a9495485caa838ac07c585551082d99ef85f325;p=openvswitch Reduce rate limit for short-packet messages even further. These messages appear a lot in a virtualized environment, and they really are not meaningful there. --- diff --git a/lib/flow.c b/lib/flow.c index 70a9c4b2..5fddf1fe 100644 --- a/lib/flow.c +++ b/lib/flow.c @@ -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); }