diff options
author | Steven Luong <sluong@cisco.com> | 2020-07-15 08:44:54 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-07-28 12:13:49 +0000 |
commit | 4c4223edfd46841062340fe449cd97a93dccc498 (patch) | |
tree | 8daedd7264e235e273a4e23d209a2baca80781d0 /src/plugins/lacp/node.h | |
parent | 4d1423c5ace249f6609a41fadec9e4b9c4b323de (diff) |
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 <sluong@cisco.com>
Change-Id: Ib6626c514e45350308aeeda0decb70f3aba2f63e
Diffstat (limited to 'src/plugins/lacp/node.h')
-rw-r--r-- | src/plugins/lacp/node.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/lacp/node.h b/src/plugins/lacp/node.h index 59af66f20d0..0c4e4572c07 100644 --- a/src/plugins/lacp/node.h +++ b/src/plugins/lacp/node.h @@ -146,15 +146,15 @@ int lacp_dump_ifs (lacp_interface_details_t ** out_bondids); lacp_error_t lacp_input (vlib_main_t * vm, vlib_buffer_t * b0, u32 bi0); void lacp_periodic (vlib_main_t * vm); u8 *lacp_input_format_trace (u8 * s, va_list * args); -void lacp_init_neighbor (slave_if_t * sif, u8 * hw_address, +void lacp_init_neighbor (member_if_t * mif, u8 * hw_address, u16 port_number, u32 group); -void lacp_init_state_machines (vlib_main_t * vm, slave_if_t * sif); -void lacp_init_rx_machine (vlib_main_t * vm, slave_if_t * sif); -void lacp_init_tx_machine (vlib_main_t * vm, slave_if_t * sif); -void lacp_init_ptx_machine (vlib_main_t * vm, slave_if_t * sif); -void lacp_init_mux_machine (vlib_main_t * vm, slave_if_t * sif); -void lacp_selection_logic (vlib_main_t * vm, slave_if_t * sif); -void lacp_send_lacp_pdu (vlib_main_t * vm, slave_if_t * sif); +void lacp_init_state_machines (vlib_main_t * vm, member_if_t * mif); +void lacp_init_rx_machine (vlib_main_t * vm, member_if_t * mif); +void lacp_init_tx_machine (vlib_main_t * vm, member_if_t * mif); +void lacp_init_ptx_machine (vlib_main_t * vm, member_if_t * mif); +void lacp_init_mux_machine (vlib_main_t * vm, member_if_t * mif); +void lacp_selection_logic (vlib_main_t * vm, member_if_t * mif); +void lacp_send_lacp_pdu (vlib_main_t * vm, member_if_t * mif); static inline void lacp_stop_timer (f64 * timer) |