From dd4889e21cb15df541cf3b2c2d8bb971ce460359 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 29 Mar 2018 10:35:41 -0700 Subject: lacp: faster convergence for slow-rate config option Do fast-rate if we are not yet synchronized with the partner. Stop sending LACP updates as a flash in the worker thread. Just expire the timer and let the lacp_process handle sending LACP PDU. Change-Id: I8b36fe74e752e7f45bd4a8d70512c0341cc197a1 Signed-off-by: Steven --- src/plugins/lacp/ptx_machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/lacp/ptx_machine.c') diff --git a/src/plugins/lacp/ptx_machine.c b/src/plugins/lacp/ptx_machine.c index ac83444b08a..5a1c6d88621 100644 --- a/src/plugins/lacp/ptx_machine.c +++ b/src/plugins/lacp/ptx_machine.c @@ -99,7 +99,7 @@ lacp_ptx_action_slow_periodic (void *p1, void *p2) else timer_expired = 0; - lacp_start_periodic_timer (lm->vlib_main, sif, LACP_SLOW_PERIODIC_TIMER); + lacp_schedule_periodic_timer (lm->vlib_main, sif); if (timer_expired || (sif->partner.state & LACP_STATE_LACP_TIMEOUT)) lacp_machine_dispatch (&lacp_ptx_machine, vm, sif, -- cgit 1.2.3-korg