Go to the source code of this file.
|
void | bond_disable_collecting_distributing (vlib_main_t *vm, slave_if_t *sif) |
|
static int | bond_slave_sort (void *a1, void *a2) |
|
static void | bond_sort_slaves (bond_if_t *bif) |
|
void | bond_enable_collecting_distributing (vlib_main_t *vm, slave_if_t *sif) |
|
int | bond_dump_ifs (bond_interface_details_t **out_bondifs) |
|
int | bond_dump_slave_ifs (slave_interface_details_t **out_slaveifs, u32 bond_sw_if_index) |
|
static void | bond_slave_add_del_mac_addrs (bond_if_t *bif, u32 sif_sw_if_index, u8 is_add) |
|
static void | bond_delete_neighbor (vlib_main_t *vm, bond_if_t *bif, slave_if_t *sif) |
|
int | bond_delete_if (vlib_main_t *vm, u32 sw_if_index) |
|
void | bond_create_if (vlib_main_t *vm, bond_create_if_args_t *args) |
|
static clib_error_t * | bond_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | bond_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | bond_enslave (vlib_main_t *vm, bond_enslave_args_t *args) |
|
static clib_error_t * | enslave_interface_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | bond_detach_slave (vlib_main_t *vm, bond_detach_slave_args_t *args) |
|
static clib_error_t * | detach_interface_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | show_bond (vlib_main_t *vm) |
|
static void | show_bond_details (vlib_main_t *vm) |
|
static clib_error_t * | show_bond_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | bond_set_intf_weight (vlib_main_t *vm, bond_set_intf_weight_args_t *args) |
|
static clib_error_t * | bond_set_intf_cmd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | bond_cli_init (vlib_main_t *vm) |
|
◆ bond_cli_init()
◆ bond_create_command_fn()
◆ bond_create_if()
◆ bond_delete_command_fn()
◆ bond_delete_if()
◆ bond_delete_neighbor()
◆ bond_detach_slave()
◆ bond_disable_collecting_distributing()
Definition at line 26 of file cli.c.
◆ bond_dump_ifs()
◆ bond_dump_slave_ifs()
◆ bond_enable_collecting_distributing()
◆ bond_enslave()
◆ bond_set_intf_cmd()
◆ bond_set_intf_weight()
◆ bond_slave_add_del_mac_addrs()
static void bond_slave_add_del_mac_addrs |
( |
bond_if_t * |
bif, |
|
|
u32 |
sif_sw_if_index, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
◆ bond_slave_sort()
static int bond_slave_sort |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
Definition at line 73 of file cli.c.
◆ bond_sort_slaves()
static void bond_sort_slaves |
( |
bond_if_t * |
bif | ) |
|
|
static |
◆ detach_interface_command_fn()
◆ enslave_interface_command_fn()
◆ show_bond()
◆ show_bond_details()
◆ show_bond_fn()
◆ bond_create_command
Initial value:= {
.path = "create bond",
.short_help = "create bond mode {round-robin | active-backup | broadcast | "
"{lacp | xor} [load-balance { l2 | l23 | l34 } [numa-only]]} "
"[hw-addr <mac-address>] [id <if-id>] [gso]",
}
static clib_error_t * bond_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (bond_create_command)
Definition at line 540 of file cli.c.
◆ bond_delete__command
Initial value:=
{
.path = "delete bond",
.short_help = "delete bond {<interface> | sw_if_index <sw_idx>}",
}
static clib_error_t * bond_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (bond_delete__command)
Definition at line 589 of file cli.c.
◆ detach_interface_command
Initial value:= {
.path = "bond del",
.short_help = "bond del <slave-interface>",
}
static clib_error_t * detach_interface_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (detach_interface_command)
Definition at line 880 of file cli.c.
◆ enslave_interface_command
Initial value:= {
.path = "bond add",
.short_help = "bond add <BondEthernetx> <slave-interface> "
"[passive] [long-timeout]",
}
static clib_error_t * enslave_interface_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (enslave_interface_command)
Definition at line 817 of file cli.c.
◆ set_interface_bond_cmd
Initial value:= {
.path = "set interface bond",
.short_help = "set interface bond <interface> | sw_if_index <idx>"
" weight <value>",
}
static clib_error_t * bond_set_intf_cmd(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_interface_bond_cmd)
Definition at line 1090 of file cli.c.
◆ show_bond_command
Initial value:= {
.path = "show bond",
.short_help = "show bond [details]",
}
static clib_error_t * show_bond_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_bond_command)
Definition at line 984 of file cli.c.