FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
mpls_fib_t_ Struct Reference

Public Member Functions

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

Data Fields

uwordmf_entries
 A hash table of entries. More...
 
index_t mf_lbs [MPLS_FIB_DB_SIZE]
 The load-balance indices keyed by 21 bit label+eos bit. More...
 

Detailed Description

Definition at line 41 of file mpls_fib.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

mpls_fib_t_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Required for pool_get_aligned.

Field Documentation

◆ mf_entries

uword* mpls_fib_t_::mf_entries

A hash table of entries.

21 bit key Hash table for reduced memory footprint

Definition at line 52 of file mpls_fib.h.

◆ mf_lbs

index_t mpls_fib_t_::mf_lbs[MPLS_FIB_DB_SIZE]

The load-balance indices keyed by 21 bit label+eos bit.

A flat array for maximum lookup performace.

Definition at line 58 of file mpls_fib.h.


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