FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
fifo_segment_header_ Struct Reference
+ Collaboration diagram for fifo_segment_header_:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (allocator)
 
 CLIB_CACHE_LINE_ALIGN_MARK (slice)
 

Data Fields

uword n_cached_bytes
 Cached bytes. More...
 
u32 n_active_fifos
 Number of active fifos. More...
 
u32 n_reserved_bytes
 Bytes not to be allocated. More...
 
u32 max_log2_fifo_size
 Max log2(chunk size) for fs. More...
 
u8 n_slices
 Number of slices. More...
 
u8 pct_first_alloc
 Pct of fifo size to alloc. More...
 
u8 n_mqs
 Num mqs for mqs segment. More...
 
uword byte_index
 
uword max_byte_index
 
uword start_byte_index
 
fifo_segment_slice_t slices [0]
 

Detailed Description

Definition at line 137 of file fifo_types.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]

fifo_segment_header_::CLIB_CACHE_LINE_ALIGN_MARK ( allocator  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]

fifo_segment_header_::CLIB_CACHE_LINE_ALIGN_MARK ( slice  )

Field Documentation

◆ byte_index

uword fifo_segment_header_::byte_index

Definition at line 147 of file fifo_types.h.

◆ max_byte_index

uword fifo_segment_header_::max_byte_index

Definition at line 148 of file fifo_types.h.

◆ max_log2_fifo_size

u32 fifo_segment_header_::max_log2_fifo_size

Max log2(chunk size) for fs.

Definition at line 142 of file fifo_types.h.

◆ n_active_fifos

u32 fifo_segment_header_::n_active_fifos

Number of active fifos.

Definition at line 140 of file fifo_types.h.

◆ n_cached_bytes

uword fifo_segment_header_::n_cached_bytes

Cached bytes.

Definition at line 139 of file fifo_types.h.

◆ n_mqs

u8 fifo_segment_header_::n_mqs

Num mqs for mqs segment.

Definition at line 145 of file fifo_types.h.

◆ n_reserved_bytes

u32 fifo_segment_header_::n_reserved_bytes

Bytes not to be allocated.

Definition at line 141 of file fifo_types.h.

◆ n_slices

u8 fifo_segment_header_::n_slices

Number of slices.

Definition at line 143 of file fifo_types.h.

◆ pct_first_alloc

u8 fifo_segment_header_::pct_first_alloc

Pct of fifo size to alloc.

Definition at line 144 of file fifo_types.h.

◆ slices

fifo_segment_slice_t fifo_segment_header_::slices[0]

Definition at line 151 of file fifo_types.h.

◆ start_byte_index

uword fifo_segment_header_::start_byte_index

Definition at line 149 of file fifo_types.h.


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