FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | load_balance_map_t_ |
Typedefs | |
typedef struct load_balance_map_t_ | load_balance_map_t |
Functions | |
index_t | load_balance_map_add_or_lock (u32 n_buckets, u32 sum_of_weights, const load_balance_path_t *norm_paths) |
void | load_balance_map_lock (index_t lmbi) |
void | load_balance_map_unlock (index_t lbmi) |
void | load_balance_map_path_state_change (fib_node_index_t path_index) |
the state of a path has changed (it has no doubt gone down). More... | |
u8 * | format_load_balance_map (u8 *s, va_list ap) |
void | load_balance_map_show_mem (void) |
static load_balance_map_t * | load_balance_map_get (index_t lbmi) |
void | load_balance_map_module_init (void) |
Make/add a new or lock an existing Load-balance map. More... | |
Variables | |
load_balance_map_t * | load_balance_map_pool |
The encapsulation breakages are for fast DP access. More... | |
typedef struct load_balance_map_t_ load_balance_map_t |
Definition at line 91 of file load_balance_map.c.
index_t load_balance_map_add_or_lock | ( | u32 | n_buckets, |
u32 | sum_of_weights, | ||
const load_balance_path_t * | norm_paths | ||
) |
Definition at line 419 of file load_balance_map.c.
|
inlinestatic |
Definition at line 71 of file load_balance_map.h.
void load_balance_map_lock | ( | index_t | lmbi | ) |
void load_balance_map_module_init | ( | void | ) |
Make/add a new or lock an existing Load-balance map.
Definition at line 515 of file load_balance_map.c.
void load_balance_map_path_state_change | ( | fib_node_index_t | path_index | ) |
the state of a path has changed (it has no doubt gone down).
This is the trigger to perform a PIC edge cutover and update the maps to exclude this path.
Definition at line 496 of file load_balance_map.c.
void load_balance_map_show_mem | ( | void | ) |
Definition at line 530 of file load_balance_map.c.
void load_balance_map_unlock | ( | index_t | lbmi | ) |
Definition at line 455 of file load_balance_map.c.
load_balance_map_t* load_balance_map_pool |
The encapsulation breakages are for fast DP access.
The encapsulation breakages are for fast DP access.
Definition at line 69 of file load_balance_map.c.