FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
svm_fifo_shr_ Struct Reference

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (shared)
 
 CLIB_CACHE_LINE_ALIGN_MARK (consumer)
 
 CLIB_CACHE_LINE_ALIGN_MARK (producer)
 

Data Fields

fs_sptr_t start_chunk
 first chunk in fifo chunk list More...
 
fs_sptr_t end_chunk
 end chunk in fifo chunk list More...
 
volatile u32 has_event
 non-zero if deq event exists More...
 
u32 min_alloc
 min chunk alloc if space available More...
 
u32 size
 size of the fifo in bytes More...
 
u32 master_session_index
 session layer session index More...
 
u32 client_session_index
 app session index More...
 
u8 slice_index
 segment slice for fifo More...
 
fs_sptr_t next
 next in freelist More...
 
fs_sptr_t head_chunk
 tracks chunk where head lands More...
 
u32 head
 fifo head position/byte More...
 
volatile u32 want_deq_ntf
 producer wants nudge More...
 
volatile u32 has_deq_ntf
 
u32 tail
 fifo tail position/byte More...
 
fs_sptr_t tail_chunk
 tracks chunk where tail lands More...
 
volatile u8 n_subscribers
 Number of subscribers for io events. More...
 
u8 subscribers [SVM_FIFO_MAX_EVT_SUBSCRIBERS]
 

Detailed Description

Definition at line 63 of file fifo_types.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/3]

svm_fifo_shr_::CLIB_CACHE_LINE_ALIGN_MARK ( consumer  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/3]

svm_fifo_shr_::CLIB_CACHE_LINE_ALIGN_MARK ( producer  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [3/3]

svm_fifo_shr_::CLIB_CACHE_LINE_ALIGN_MARK ( shared  )

Field Documentation

◆ client_session_index

u32 svm_fifo_shr_::client_session_index

app session index

Definition at line 72 of file fifo_types.h.

◆ end_chunk

fs_sptr_t svm_fifo_shr_::end_chunk

end chunk in fifo chunk list

Definition at line 67 of file fifo_types.h.

◆ has_deq_ntf

volatile u32 svm_fifo_shr_::has_deq_ntf

Definition at line 80 of file fifo_types.h.

◆ has_event

volatile u32 svm_fifo_shr_::has_event

non-zero if deq event exists

Definition at line 68 of file fifo_types.h.

◆ head

u32 svm_fifo_shr_::head

fifo head position/byte

Definition at line 78 of file fifo_types.h.

◆ head_chunk

fs_sptr_t svm_fifo_shr_::head_chunk

tracks chunk where head lands

Definition at line 77 of file fifo_types.h.

◆ master_session_index

u32 svm_fifo_shr_::master_session_index

session layer session index

Definition at line 71 of file fifo_types.h.

◆ min_alloc

u32 svm_fifo_shr_::min_alloc

min chunk alloc if space available

Definition at line 69 of file fifo_types.h.

◆ n_subscribers

volatile u8 svm_fifo_shr_::n_subscribers

Number of subscribers for io events.

Definition at line 85 of file fifo_types.h.

◆ next

fs_sptr_t svm_fifo_shr_::next

next in freelist

Definition at line 74 of file fifo_types.h.

◆ size

u32 svm_fifo_shr_::size

size of the fifo in bytes

Definition at line 70 of file fifo_types.h.

◆ slice_index

u8 svm_fifo_shr_::slice_index

segment slice for fifo

Definition at line 73 of file fifo_types.h.

◆ start_chunk

fs_sptr_t svm_fifo_shr_::start_chunk

first chunk in fifo chunk list

Definition at line 66 of file fifo_types.h.

◆ subscribers

u8 svm_fifo_shr_::subscribers[SVM_FIFO_MAX_EVT_SUBSCRIBERS]

Definition at line 86 of file fifo_types.h.

◆ tail

u32 svm_fifo_shr_::tail

fifo tail position/byte

Definition at line 83 of file fifo_types.h.

◆ tail_chunk

fs_sptr_t svm_fifo_shr_::tail_chunk

tracks chunk where tail lands

Definition at line 84 of file fifo_types.h.

◆ want_deq_ntf

volatile u32 svm_fifo_shr_::want_deq_ntf

producer wants nudge

Definition at line 79 of file fifo_types.h.


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