FD.io VPP  v21.01.1
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
 
int errfd
 
u32 callfd_idx
 
u32 kickfd_idx
 
u64 log_guest_addr
 
u32 mode
 
i16 qid
 
u16 used_wrap_counter
 
u16 avail_wrap_counter
 

Detailed Description

Definition at line 161 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

◆ @255

union { ... }

◆ @257

union { ... }

◆ @259

union { ... }

◆ avail

vring_avail_t* vhost_user_vring_t::avail

Definition at line 175 of file vhost_user.h.

◆ avail_event

vring_desc_event_t* vhost_user_vring_t::avail_event

Definition at line 176 of file vhost_user.h.

◆ avail_user_addr

uword vhost_user_vring_t::avail_user_addr

Definition at line 185 of file vhost_user.h.

◆ avail_wrap_counter

u16 vhost_user_vring_t::avail_wrap_counter

Definition at line 209 of file vhost_user.h.

◆ callfd_idx

u32 vhost_user_vring_t::callfd_idx

Definition at line 193 of file vhost_user.h.

◆ desc

vring_desc_t* vhost_user_vring_t::desc

Definition at line 170 of file vhost_user.h.

◆ desc_user_addr

uword vhost_user_vring_t::desc_user_addr

Definition at line 183 of file vhost_user.h.

◆ enabled

u8 vhost_user_vring_t::enabled

Definition at line 188 of file vhost_user.h.

◆ errfd

int vhost_user_vring_t::errfd

Definition at line 192 of file vhost_user.h.

◆ int_deadline

f64 vhost_user_vring_t::int_deadline

Definition at line 186 of file vhost_user.h.

◆ kickfd_idx

u32 vhost_user_vring_t::kickfd_idx

Definition at line 194 of file vhost_user.h.

◆ last_avail_idx

u16 vhost_user_vring_t::last_avail_idx

Definition at line 165 of file vhost_user.h.

◆ last_used_idx

u16 vhost_user_vring_t::last_used_idx

Definition at line 166 of file vhost_user.h.

◆ log_guest_addr

u64 vhost_user_vring_t::log_guest_addr

Definition at line 195 of file vhost_user.h.

◆ log_used

u8 vhost_user_vring_t::log_used

Definition at line 189 of file vhost_user.h.

◆ mode

u32 vhost_user_vring_t::mode

Definition at line 198 of file vhost_user.h.

◆ n_since_last_int

u16 vhost_user_vring_t::n_since_last_int

Definition at line 167 of file vhost_user.h.

◆ packed_desc

vring_packed_desc_t* vhost_user_vring_t::packed_desc

Definition at line 171 of file vhost_user.h.

◆ qid

i16 vhost_user_vring_t::qid

Definition at line 206 of file vhost_user.h.

◆ qsz_mask

u16 vhost_user_vring_t::qsz_mask

Definition at line 164 of file vhost_user.h.

◆ started

u8 vhost_user_vring_t::started

Definition at line 187 of file vhost_user.h.

◆ used

vring_used_t* vhost_user_vring_t::used

Definition at line 180 of file vhost_user.h.

◆ used_event

vring_desc_event_t* vhost_user_vring_t::used_event

Definition at line 181 of file vhost_user.h.

◆ used_user_addr

uword vhost_user_vring_t::used_user_addr

Definition at line 184 of file vhost_user.h.

◆ used_wrap_counter

u16 vhost_user_vring_t::used_wrap_counter

Definition at line 208 of file vhost_user.h.


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