FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
svm_fifo_t Struct Reference
+ Collaboration diagram for svm_fifo_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (end_shared)
 
 CLIB_CACHE_LINE_ALIGN_MARK (end_consumer)
 
 CLIB_CACHE_LINE_ALIGN_MARK (data)
 

Data Fields

pthread_mutex_t mutex
 
pthread_cond_t condvar
 
u32 owner_pid
 
svm_lock_tag_t tag
 
volatile u32 cursize
 
u32 nitems
 
u32 server_session_index
 
u32 client_session_index
 
u8 server_thread_index
 
u8 client_thread_index
 
u32 head
 
u32 tail
 
ooo_segment_tooo_segments
 Pool of ooo segments. More...
 
u32 ooos_list_head
 Head of out-of-order linked-list. More...
 
u32 ooos_newest
 Last segment to have been updated. More...
 

Detailed Description

Definition at line 45 of file svm_fifo.h.

Member Function Documentation

svm_fifo_t::CLIB_CACHE_LINE_ALIGN_MARK ( end_shared  )
svm_fifo_t::CLIB_CACHE_LINE_ALIGN_MARK ( end_consumer  )
svm_fifo_t::CLIB_CACHE_LINE_ALIGN_MARK ( data  )

Field Documentation

u32 svm_fifo_t::client_session_index

Definition at line 56 of file svm_fifo.h.

u8 svm_fifo_t::client_thread_index

Definition at line 58 of file svm_fifo.h.

pthread_cond_t svm_fifo_t::condvar

Definition at line 48 of file svm_fifo.h.

volatile u32 svm_fifo_t::cursize

Definition at line 51 of file svm_fifo.h.

u32 svm_fifo_t::head

Definition at line 60 of file svm_fifo.h.

pthread_mutex_t svm_fifo_t::mutex

Definition at line 47 of file svm_fifo.h.

u32 svm_fifo_t::nitems

Definition at line 52 of file svm_fifo.h.

ooo_segment_t* svm_fifo_t::ooo_segments

Pool of ooo segments.

Definition at line 66 of file svm_fifo.h.

u32 svm_fifo_t::ooos_list_head

Head of out-of-order linked-list.

Definition at line 67 of file svm_fifo.h.

u32 svm_fifo_t::ooos_newest

Last segment to have been updated.

Definition at line 68 of file svm_fifo.h.

u32 svm_fifo_t::owner_pid

Definition at line 49 of file svm_fifo.h.

u32 svm_fifo_t::server_session_index

Definition at line 55 of file svm_fifo.h.

u8 svm_fifo_t::server_thread_index

Definition at line 57 of file svm_fifo.h.

svm_lock_tag_t svm_fifo_t::tag

Definition at line 50 of file svm_fifo.h.

u32 svm_fifo_t::tail

Definition at line 64 of file svm_fifo.h.


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