From 4c4223edfd46841062340fe449cd97a93dccc498 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Wed, 15 Jul 2020 08:44:54 -0700 Subject: bonding lacp: replace slave string with member - Replace textual string slave with member except APIs. - For APIs, mark the existing APIs as deprecated and introduce new APIs - While introducing sw_bond_interface_dump, add the optional filter by sw_if_index and enhance the testcases to make use of it. Type: improvement Signed-off-by: Steven Luong Change-Id: Ib6626c514e45350308aeeda0decb70f3aba2f63e --- src/plugins/lacp/mux_machine.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/lacp/mux_machine.h') diff --git a/src/plugins/lacp/mux_machine.h b/src/plugins/lacp/mux_machine.h index 48e9a0bed4e..6fd251327d0 100644 --- a/src/plugins/lacp/mux_machine.h +++ b/src/plugins/lacp/mux_machine.h @@ -53,7 +53,7 @@ int lacp_mux_action_detached (void *p1, void *p2); int lacp_mux_action_attached (void *p1, void *p2); int lacp_mux_action_waiting (void *p1, void *p2); int lacp_mux_action_collecting_distributing (void *p1, void *p2); -void lacp_mux_debug_func (slave_if_t * sif, int event, int state, +void lacp_mux_debug_func (member_if_t * mif, int event, int state, lacp_fsm_state_t * transition); #define LACP_ACTION_DETACHED LACP_ACTION_ROUTINE(lacp_mux_action_detached) @@ -63,10 +63,10 @@ void lacp_mux_debug_func (slave_if_t * sif, int event, int state, LACP_ACTION_ROUTINE(lacp_mux_action_collecting_distributing) static inline void -lacp_start_wait_while_timer (vlib_main_t * vm, slave_if_t * sif, +lacp_start_wait_while_timer (vlib_main_t * vm, member_if_t * mif, u8 expiration) { - sif->wait_while_timer = vlib_time_now (vm) + expiration; + mif->wait_while_timer = vlib_time_now (vm) + expiration; } #endif /* __LACP_MUX_MACHINE_H__ */ -- cgit 1.2.3-korg