FD.io VPP  v20.05.1-6-gf53edbc3b
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 282 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

◆ @232

union { ... }

◆ @234

union { ... }

◆ @236

union { ... }

◆ avail

vring_avail_t* vhost_user_vring_t::avail

Definition at line 296 of file vhost_user.h.

◆ avail_event

vring_desc_event_t* vhost_user_vring_t::avail_event

Definition at line 297 of file vhost_user.h.

◆ avail_user_addr

uword vhost_user_vring_t::avail_user_addr

Definition at line 306 of file vhost_user.h.

◆ avail_wrap_counter

u16 vhost_user_vring_t::avail_wrap_counter

Definition at line 330 of file vhost_user.h.

◆ callfd_idx

u32 vhost_user_vring_t::callfd_idx

Definition at line 314 of file vhost_user.h.

◆ desc

vring_desc_t* vhost_user_vring_t::desc

Definition at line 291 of file vhost_user.h.

◆ desc_user_addr

uword vhost_user_vring_t::desc_user_addr

Definition at line 304 of file vhost_user.h.

◆ enabled

u8 vhost_user_vring_t::enabled

Definition at line 309 of file vhost_user.h.

◆ errfd

int vhost_user_vring_t::errfd

Definition at line 313 of file vhost_user.h.

◆ int_deadline

f64 vhost_user_vring_t::int_deadline

Definition at line 307 of file vhost_user.h.

◆ kickfd_idx

u32 vhost_user_vring_t::kickfd_idx

Definition at line 315 of file vhost_user.h.

◆ last_avail_idx

u16 vhost_user_vring_t::last_avail_idx

Definition at line 286 of file vhost_user.h.

◆ last_used_idx

u16 vhost_user_vring_t::last_used_idx

Definition at line 287 of file vhost_user.h.

◆ log_guest_addr

u64 vhost_user_vring_t::log_guest_addr

Definition at line 316 of file vhost_user.h.

◆ log_used

u8 vhost_user_vring_t::log_used

Definition at line 310 of file vhost_user.h.

◆ mode

u32 vhost_user_vring_t::mode

Definition at line 319 of file vhost_user.h.

◆ n_since_last_int

u16 vhost_user_vring_t::n_since_last_int

Definition at line 288 of file vhost_user.h.

◆ packed_desc

vring_packed_desc_t* vhost_user_vring_t::packed_desc

Definition at line 292 of file vhost_user.h.

◆ qid

i16 vhost_user_vring_t::qid

Definition at line 327 of file vhost_user.h.

◆ qsz_mask

u16 vhost_user_vring_t::qsz_mask

Definition at line 285 of file vhost_user.h.

◆ started

u8 vhost_user_vring_t::started

Definition at line 308 of file vhost_user.h.

◆ used

vring_used_t* vhost_user_vring_t::used

Definition at line 301 of file vhost_user.h.

◆ used_event

vring_desc_event_t* vhost_user_vring_t::used_event

Definition at line 302 of file vhost_user.h.

◆ used_user_addr

uword vhost_user_vring_t::used_user_addr

Definition at line 305 of file vhost_user.h.

◆ used_wrap_counter

u16 vhost_user_vring_t::used_wrap_counter

Definition at line 329 of file vhost_user.h.


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