mirror of
https://github.com/openvswitch/ovs
synced 2025-09-04 00:05:15 +00:00
netdev-dummy: disable periodic probing
netdev-dummy is mostly useed over reliable link for testing. Periodic probing over those links seem overkill. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -368,6 +368,7 @@ dummy_packet_conn_set_config(struct dummy_packet_conn *conn,
|
|||||||
reconnect_set_passive(reconnect, false, time_msec());
|
reconnect_set_passive(reconnect, false, time_msec());
|
||||||
reconnect_enable(reconnect, time_msec());
|
reconnect_enable(reconnect, time_msec());
|
||||||
reconnect_set_backoff(reconnect, 1000, INT_MAX);
|
reconnect_set_backoff(reconnect, 1000, INT_MAX);
|
||||||
|
reconnect_set_probe_interval(reconnect, 0);
|
||||||
conn->u.rconn.reconnect = reconnect;
|
conn->u.rconn.reconnect = reconnect;
|
||||||
|
|
||||||
error = stream_open(stream, &active_stream, DSCP_DEFAULT);
|
error = stream_open(stream, &active_stream, DSCP_DEFAULT);
|
||||||
|
Reference in New Issue
Block a user