FD.io VPP  v21.06-3-gbb25fbf28
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 42 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 53 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 59 of file mpls_fib.h.


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