FD.io VPP
v19.04.2-12-g66b1689
Vector Packet Processing
|
The FIB DPO provieds;. More...
Public Member Functions | |
CLIB_CACHE_LINE_ALIGN_MARK (cacheline0) | |
required for pool_get_aligned. More... | |
Data Fields | |
u16 | rep_n_buckets |
number of buckets in the replicate. More... | |
dpo_proto_t | rep_proto |
The protocol of packets that traverse this REP. More... | |
replicate_flags_t | rep_flags |
Flags specifying the replicate properties/behaviour. More... | |
u32 | rep_locks |
The number of locks, which is approximately the number of users, of this load-balance. More... | |
dpo_id_t * | rep_buckets |
Vector of buckets containing the next DPOs, sized as repo_num. More... | |
dpo_id_t | rep_buckets_inline [REP_NUM_INLINE_BUCKETS] |
The rest of the cache line is used for buckets. More... | |
The FIB DPO provieds;.
Definition at line 63 of file replicate_dpo.h.
replicate_t_::CLIB_CACHE_LINE_ALIGN_MARK | ( | cacheline0 | ) |
required for pool_get_aligned.
memebers used in the switch path come first!
dpo_id_t* replicate_t_::rep_buckets |
Vector of buckets containing the next DPOs, sized as repo_num.
Definition at line 98 of file replicate_dpo.h.
dpo_id_t replicate_t_::rep_buckets_inline[REP_NUM_INLINE_BUCKETS] |
The rest of the cache line is used for buckets.
In the common case where there there are less than 4 buckets, then the buckets are on the same cachlie and we save ourselves a pointer dereferance in the data-path.
Definition at line 106 of file replicate_dpo.h.
replicate_flags_t replicate_t_::rep_flags |
Flags specifying the replicate properties/behaviour.
Definition at line 85 of file replicate_dpo.h.
u32 replicate_t_::rep_locks |
The number of locks, which is approximately the number of users, of this load-balance.
Load-balance objects of via-entries are heavily shared by recursives, so the lock count is a u32.
Definition at line 93 of file replicate_dpo.h.
u16 replicate_t_::rep_n_buckets |
number of buckets in the replicate.
Definition at line 73 of file replicate_dpo.h.
dpo_proto_t replicate_t_::rep_proto |
The protocol of packets that traverse this REP.
need in combination with the flow hash config to determine how to hash. u8.
Definition at line 80 of file replicate_dpo.h.