FD.io VPP
v19.08-27-gf4dcae4
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | bond_create_if_args_t |
struct | bond_enslave_args_t |
struct | bond_detach_slave_args_t |
struct | bond_interface_details_t |
BOND interface details struct. More... | |
struct | slave_interface_details_t |
slave interface details struct More... | |
struct | bond_per_port_queue_t |
struct | bond_per_thread_data_t |
struct | bond_if_t |
struct | slave_if_t |
struct | bond_main_t |
struct | bond_packet_trace_t |
struct | bond_load_balance_func_t |
Macros | |
#define | LACP_FAST_PERIODIC_TIMER 1.0 |
#define | LACP_SHORT_TIMOUT_TIME (LACP_FAST_PERIODIC_TIMER * 3) |
#define | LACP_SLOW_PERIODIC_TIMER 30.0 |
#define | LACP_LONG_TIMOUT_TIME (LACP_SLOW_PERIODIC_TIMER * 3) |
#define | MIN(x, y) (((x)<(y))?(x):(y)) |
#define | BOND_MODULO_SHORTCUT(a) (is_pow2 (a)) |
#define | foreach_bond_mode |
#define | foreach_bond_lb |
#define | foreach_bond_lb_algo |
Typedefs | |
typedef void(* | lacp_enable_disable_func) (vlib_main_t *vm, bond_if_t *bif, slave_if_t *sif, u8 enable) |
typedef u32(* | load_balance_func) (vlib_main_t *vm, vlib_node_runtime_t *node, bond_if_t *bif, vlib_buffer_t *b0, uword slave_count) |
Enumerations | |
enum | bond_mode_t { foreach_bond_mode } |
enum | bond_load_balance_t { foreach_bond_lb_algo } |
enum | bond_send_garp_na_process_event_t { BOND_SEND_GARP_NA = 1 } |
Variables | |
vlib_node_registration_t | bond_input_node |
(constructor) VLIB_REGISTER_NODE (bond_input_node) More... | |
vlib_node_registration_t | bond_process_node |
(constructor) VLIB_REGISTER_NODE (bond_process_node) More... | |
vnet_device_class_t | bond_dev_class |
bond_main_t | bond_main |
#define foreach_bond_lb |
#define foreach_bond_lb_algo |
#define foreach_bond_mode |
#define LACP_LONG_TIMOUT_TIME (LACP_SLOW_PERIODIC_TIMER * 3) |
#define LACP_SHORT_TIMOUT_TIME (LACP_FAST_PERIODIC_TIMER * 3) |
typedef void(* lacp_enable_disable_func) (vlib_main_t *vm, bond_if_t *bif, slave_if_t *sif, u8 enable) |
typedef u32(* load_balance_func) (vlib_main_t *vm, vlib_node_runtime_t *node, bond_if_t *bif, vlib_buffer_t *b0, uword slave_count) |
enum bond_load_balance_t |
enum bond_mode_t |
void bond_create_if | ( | vlib_main_t * | vm, |
bond_create_if_args_t * | args | ||
) |
int bond_delete_if | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
void bond_detach_slave | ( | vlib_main_t * | vm, |
bond_detach_slave_args_t * | args | ||
) |
void bond_disable_collecting_distributing | ( | vlib_main_t * | vm, |
slave_if_t * | sif | ||
) |
int bond_dump_ifs | ( | bond_interface_details_t ** | out_bondids | ) |
int bond_dump_slave_ifs | ( | slave_interface_details_t ** | out_slaveids, |
u32 | bond_sw_if_index | ||
) |
void bond_enable_collecting_distributing | ( | vlib_main_t * | vm, |
slave_if_t * | sif | ||
) |
void bond_enslave | ( | vlib_main_t * | vm, |
bond_enslave_args_t * | args | ||
) |
|
inlinestatic |
|
inlinestatic |
typedef CLIB_PACKED | ( | struct{u16 system_priority;u8 system[6];u16 key;u16 port_priority;u16 port_number;u8 state;} | ) |
|
inlinestatic |
|
inlinestatic |
vnet_device_class_t bond_dev_class |
vlib_node_registration_t bond_input_node |
bond_main_t bond_main |
vlib_node_registration_t bond_process_node |