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/machine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/lacp/machine.h') diff --git a/src/plugins/lacp/machine.h b/src/plugins/lacp/machine.h index 0590b6cf101..2e628b6d51c 100644 --- a/src/plugins/lacp/machine.h +++ b/src/plugins/lacp/machine.h @@ -29,7 +29,7 @@ typedef struct int next_state; } lacp_fsm_state_t; -typedef void (*debug_func) (slave_if_t * sif, int event, int state, +typedef void (*debug_func) (member_if_t * mif, int event, int state, lacp_fsm_state_t * transition); typedef struct @@ -44,7 +44,7 @@ typedef struct } lacp_machine_t; extern int lacp_machine_dispatch (lacp_machine_t * machine, vlib_main_t * vm, - slave_if_t * sif, int event, int *state); + member_if_t * mif, int event, int *state); #endif /* __LACP_MACHINE_H__ */ -- cgit 1.2.3-korg