FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
mfib_itf_t_ Struct Reference

An interface associated with a particular MFIB entry. More...

Public Member Functions

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

Data Fields

mfib_itf_flags_t mfi_flags
 Forwarding Flags on the entry - checked in the data-path. More...
 
u32 mfi_sw_if_index
 The SW IF index that this MFIB interface represents. More...
 
u32 mfi_si
 The index of the signal in the pending list. More...
 
uwordmfi_hash
 A hash table of path-inidices that are contributing flags to this interface. More...
 

Detailed Description

An interface associated with a particular MFIB entry.

Definition at line 25 of file mfib_itf.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

mfib_itf_t_::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Required for pool_get_aligned.

Field Documentation

◆ mfi_flags

mfib_itf_flags_t mfib_itf_t_::mfi_flags

Forwarding Flags on the entry - checked in the data-path.

Definition at line 35 of file mfib_itf.h.

◆ mfi_hash

uword* mfib_itf_t_::mfi_hash

A hash table of path-inidices that are contributing flags to this interface.

Since paths with next-hops can be on the same interface and each of those paths can contribute different flags, we need to maintain the flag contribution from each path, and use a combination for forwarding.

Definition at line 53 of file mfib_itf.h.

◆ mfi_si

u32 mfib_itf_t_::mfi_si

The index of the signal in the pending list.

Definition at line 45 of file mfib_itf.h.

◆ mfi_sw_if_index

u32 mfib_itf_t_::mfi_sw_if_index

The SW IF index that this MFIB interface represents.

Definition at line 40 of file mfib_itf.h.


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