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

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 
 CLIB_CACHE_LINE_ALIGN_MARK (cacheline1)
 

Data Fields

u16 qsz_mask
 
u16 last_avail_idx
 
u16 last_used_idx
 
u16 n_since_last_int
 
union {
   vring_desc_t *   desc
 
   vring_packed_desc_t *   packed_desc
 
}; 
 
union {
   vring_avail_t *   avail
 
   vring_desc_event_t *   avail_event
 
}; 
 
union {
   vring_used_t *   used
 
   vring_desc_event_t *   used_event
 
}; 
 
uword desc_user_addr
 
uword used_user_addr
 
uword avail_user_addr
 
f64 int_deadline
 
u8 started
 
u8 enabled
 
u8 log_used
 
clib_spinlock_t vring_lock
 
int errfd
 
u32 callfd_idx
 
u32 kickfd_idx
 
u64 log_guest_addr
 
u32 mode
 
i16 qid
 
u16 used_wrap_counter
 
u16 avail_wrap_counter
 
u16 last_kick
 
u8 first_kick
 
u32 queue_index
 
u32 thread_index
 

Detailed Description

Definition at line 180 of file vhost_user.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]

vhost_user_vring_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]

vhost_user_vring_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline1  )

Field Documentation

◆ @246

union { ... }

◆ @248

union { ... }

◆ @250

union { ... }

◆ avail

vring_avail_t* vhost_user_vring_t::avail

Definition at line 194 of file vhost_user.h.

◆ avail_event

vring_desc_event_t* vhost_user_vring_t::avail_event

Definition at line 195 of file vhost_user.h.

◆ avail_user_addr

uword vhost_user_vring_t::avail_user_addr

Definition at line 204 of file vhost_user.h.

◆ avail_wrap_counter

u16 vhost_user_vring_t::avail_wrap_counter

Definition at line 230 of file vhost_user.h.

◆ callfd_idx

u32 vhost_user_vring_t::callfd_idx

Definition at line 214 of file vhost_user.h.

◆ desc

vring_desc_t* vhost_user_vring_t::desc

Definition at line 189 of file vhost_user.h.

◆ desc_user_addr

uword vhost_user_vring_t::desc_user_addr

Definition at line 202 of file vhost_user.h.

◆ enabled

u8 vhost_user_vring_t::enabled

Definition at line 207 of file vhost_user.h.

◆ errfd

int vhost_user_vring_t::errfd

Definition at line 213 of file vhost_user.h.

◆ first_kick

u8 vhost_user_vring_t::first_kick

Definition at line 232 of file vhost_user.h.

◆ int_deadline

f64 vhost_user_vring_t::int_deadline

Definition at line 205 of file vhost_user.h.

◆ kickfd_idx

u32 vhost_user_vring_t::kickfd_idx

Definition at line 215 of file vhost_user.h.

◆ last_avail_idx

u16 vhost_user_vring_t::last_avail_idx

Definition at line 184 of file vhost_user.h.

◆ last_kick

u16 vhost_user_vring_t::last_kick

Definition at line 231 of file vhost_user.h.

◆ last_used_idx

u16 vhost_user_vring_t::last_used_idx

Definition at line 185 of file vhost_user.h.

◆ log_guest_addr

u64 vhost_user_vring_t::log_guest_addr

Definition at line 216 of file vhost_user.h.

◆ log_used

u8 vhost_user_vring_t::log_used

Definition at line 208 of file vhost_user.h.

◆ mode

u32 vhost_user_vring_t::mode

Definition at line 219 of file vhost_user.h.

◆ n_since_last_int

u16 vhost_user_vring_t::n_since_last_int

Definition at line 186 of file vhost_user.h.

◆ packed_desc

vring_packed_desc_t* vhost_user_vring_t::packed_desc

Definition at line 190 of file vhost_user.h.

◆ qid

i16 vhost_user_vring_t::qid

Definition at line 227 of file vhost_user.h.

◆ qsz_mask

u16 vhost_user_vring_t::qsz_mask

Definition at line 183 of file vhost_user.h.

◆ queue_index

u32 vhost_user_vring_t::queue_index

Definition at line 233 of file vhost_user.h.

◆ started

u8 vhost_user_vring_t::started

Definition at line 206 of file vhost_user.h.

◆ thread_index

u32 vhost_user_vring_t::thread_index

Definition at line 234 of file vhost_user.h.

◆ used

vring_used_t* vhost_user_vring_t::used

Definition at line 199 of file vhost_user.h.

◆ used_event

vring_desc_event_t* vhost_user_vring_t::used_event

Definition at line 200 of file vhost_user.h.

◆ used_user_addr

uword vhost_user_vring_t::used_user_addr

Definition at line 203 of file vhost_user.h.

◆ used_wrap_counter

u16 vhost_user_vring_t::used_wrap_counter

Definition at line 229 of file vhost_user.h.

◆ vring_lock

clib_spinlock_t vhost_user_vring_t::vring_lock

Definition at line 209 of file vhost_user.h.


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