FD.io VPP
v20.05.1-6-gf53edbc3b
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) |
static u16 | load_balance_map_translate (index_t lbmi, u16 bucket) |
static const dpo_id_t * | load_balance_get_fwd_bucket (const load_balance_t *lb, u16 bucket) |
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 93 of file load_balance_map.c.
|
inlinestatic |
Definition at line 94 of file load_balance_map.h.
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 432 of file load_balance_map.c.
|
inlinestatic |
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 527 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 508 of file load_balance_map.c.
void load_balance_map_show_mem | ( | void | ) |
Definition at line 542 of file load_balance_map.c.
Definition at line 83 of file load_balance_map.h.
void load_balance_map_unlock | ( | index_t | lbmi | ) |
Definition at line 469 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.