FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
load_balance_map_t_ Struct Reference
+ Collaboration diagram for load_balance_map_t_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 required for pool_get_aligned. More...
 

Data Fields

u16lbm_buckets
 The buckets of the map that provide the index to index translation. More...
 
struct load_balance_map_path_t_lbm_paths
 the vector of paths this MAP represents More...
 
u32 lbm_sum_of_norm_weights
 the sum of the normalised weights. More...
 
u32 lbm_locks
 Number of locks. More...
 

Detailed Description

Definition at line 30 of file load_balance_map.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

load_balance_map_t_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

required for pool_get_aligned.

memebers used in the switch path come first!

Field Documentation

◆ lbm_buckets

u16* load_balance_map_t_::lbm_buckets

The buckets of the map that provide the index to index translation.

In the first cacheline.

Definition at line 41 of file load_balance_map.h.

◆ lbm_locks

u32 load_balance_map_t_::lbm_locks

Number of locks.

Maps are shared by a large number of recrusvie fib_entry_ts

Definition at line 56 of file load_balance_map.h.

◆ lbm_paths

struct load_balance_map_path_t_* load_balance_map_t_::lbm_paths

the vector of paths this MAP represents

Definition at line 46 of file load_balance_map.h.

◆ lbm_sum_of_norm_weights

u32 load_balance_map_t_::lbm_sum_of_norm_weights

the sum of the normalised weights.

cache for convenience

Definition at line 51 of file load_balance_map.h.


The documentation for this struct was generated from the following file: