[ovs-dev] [PATCH] netdev-dummy: disable periodic probing

Andy Zhou azhou at nicira.com
Fri Feb 7 20:59:27 UTC 2014


netdev-dummy is mostly useed over reliable link for testing. Periodic
probing over those links seem overkill.

Signed-off-by: Andy Zhou <azhou at nicira.com>
---
 lib/netdev-dummy.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c
index 0f93363..b8e7ab7 100644
--- a/lib/netdev-dummy.c
+++ b/lib/netdev-dummy.c
@@ -368,6 +368,7 @@ dummy_packet_conn_set_config(struct dummy_packet_conn *conn,
         reconnect_set_passive(reconnect, false, time_msec());
         reconnect_enable(reconnect, time_msec());
         reconnect_set_backoff(reconnect, 1000, INT_MAX);
+        reconnect_set_probe_interval(reconnect, 0);
         conn->u.rconn.reconnect = reconnect;
 
         error = stream_open(stream, &active_stream, DSCP_DEFAULT);
-- 
1.7.9.5




More information about the dev mailing list