FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
svm_msg_q_ring_shared_ Struct Reference

Data Fields

volatile u32 cursize
 current size of the ring More...
 
u32 nitems
 max size of the ring More...
 
volatile u32 head
 current head (for dequeue) More...
 
volatile u32 tail
 current tail (for enqueue) More...
 
u32 elsize
 size of an element More...
 
u8 data [0]
 chunk of memory for msg data More...
 

Detailed Description

Definition at line 48 of file message_queue.h.

Field Documentation

◆ cursize

volatile u32 svm_msg_q_ring_shared_::cursize

current size of the ring

Definition at line 50 of file message_queue.h.

◆ data

u8 svm_msg_q_ring_shared_::data[0]

chunk of memory for msg data

Definition at line 55 of file message_queue.h.

◆ elsize

u32 svm_msg_q_ring_shared_::elsize

size of an element

Definition at line 54 of file message_queue.h.

◆ head

volatile u32 svm_msg_q_ring_shared_::head

current head (for dequeue)

Definition at line 52 of file message_queue.h.

◆ nitems

u32 svm_msg_q_ring_shared_::nitems

max size of the ring

Definition at line 51 of file message_queue.h.

◆ tail

volatile u32 svm_msg_q_ring_shared_::tail

current tail (for enqueue)

Definition at line 53 of file message_queue.h.


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