|
f64 | load_balance_get_multipath_tolerance (void) |
|
static index_t | load_balance_get_index (const load_balance_t *lb) |
|
static dpo_id_t * | load_balance_get_buckets (load_balance_t *lb) |
|
static load_balance_t * | load_balance_alloc_i (void) |
|
static u8 * | load_balance_format (index_t lbi, load_balance_format_flags_t flags, u32 indent, u8 *s) |
|
u8 * | format_load_balance (u8 *s, va_list *args) |
|
static u8 * | format_load_balance_dpo (u8 *s, va_list *args) |
|
static load_balance_t * | load_balance_create_i (u32 num_buckets, dpo_proto_t lb_proto, flow_hash_config_t fhc) |
|
index_t | load_balance_create (u32 n_buckets, dpo_proto_t lb_proto, flow_hash_config_t fhc) |
|
static void | load_balance_set_bucket_i (load_balance_t *lb, u32 bucket, dpo_id_t *buckets, const dpo_id_t *next) |
|
void | load_balance_set_bucket (index_t lbi, u32 bucket, const dpo_id_t *next) |
|
int | load_balance_is_drop (const dpo_id_t *dpo) |
|
u16 | load_balance_n_buckets (index_t lbi) |
|
void | load_balance_set_fib_entry_flags (index_t lbi, fib_entry_flag_t flags) |
|
void | load_balance_set_urpf (index_t lbi, index_t urpf) |
|
index_t | load_balance_get_urpf (index_t lbi) |
|
const dpo_id_t * | load_balance_get_bucket (index_t lbi, u32 bucket) |
|
static int | next_hop_sort_by_weight (const load_balance_path_t *n1, const load_balance_path_t *n2) |
|
u32 | ip_multipath_normalize_next_hops (const load_balance_path_t *raw_next_hops, load_balance_path_t **normalized_next_hops, u32 *sum_weight_in, f64 multipath_next_hop_error_tolerance) |
|
static load_balance_path_t * | load_balance_multipath_next_hop_fixup (const load_balance_path_t *nhs, dpo_proto_t drop_proto) |
|
static void | load_balance_fill_buckets_norm (load_balance_t *lb, load_balance_path_t *nhs, dpo_id_t *buckets, u32 n_buckets) |
|
static void | load_balance_fill_buckets_sticky (load_balance_t *lb, load_balance_path_t *nhs, dpo_id_t *buckets, u32 n_buckets) |
|
static void | load_balance_fill_buckets (load_balance_t *lb, load_balance_path_t *nhs, dpo_id_t *buckets, u32 n_buckets, load_balance_flags_t flags) |
|
static void | load_balance_set_n_buckets (load_balance_t *lb, u32 n_buckets) |
|
void | load_balance_multipath_update (const dpo_id_t *dpo, const load_balance_path_t *raw_nhs, load_balance_flags_t flags) |
|
static void | load_balance_lock (dpo_id_t *dpo) |
|
static void | load_balance_destroy (load_balance_t *lb) |
|
static void | load_balance_unlock (dpo_id_t *dpo) |
|
static void | load_balance_mem_show (void) |
|
void | load_balance_module_init (void) |
|
static clib_error_t * | load_balance_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u32 | ip_flow_hash (void *data) |
|
static u64 | mac_to_u64 (u8 *m) |
|
static u32 | l2_flow_hash (vlib_buffer_t *b0) |
|
static uword | load_balance_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_l2) |
|
static uword | l2_load_balance (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_l2_load_balance_trace (u8 *s, va_list *args) |
|
static uword | nsh_load_balance (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_nsh_load_balance_trace (u8 *s, va_list *args) |
|
static u8 * | format_bier_load_balance_trace (u8 *s, va_list *args) |
|
static uword | bier_load_balance (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
const char* const load_balance_ip4_nodes[] |
|
static |
Initial value:
The per-protocol VLIB graph nodes that are assigned to a load-balance object.
this means that these graph nodes are ones from which a load-balance is the parent object in the DPO-graph.
We do not list all the load-balance nodes, such as the *-lookup. instead we are relying on the correct use of the .sibling_of field when setting up these sibling nodes.
Definition at line 892 of file load_balance.c.