FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
virtio_vring_t Struct Reference
+ Collaboration diagram for virtio_vring_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

clib_spinlock_t lockp
 
vring_desc_tdesc
 
vring_used_tused
 
vring_avail_tavail
 
u16 desc_in_use
 
u16 desc_next
 
union {
   struct {
      int   kick_fd
 
      int   call_fd
 
   } 
 
   u16   queue_notify_offset
 
}; 
 
u8 buffer_pool_index
 
u16 size
 
u16 queue_id
 
u16 flags
 
u32buffers
 
u16 last_used_idx
 
u16 last_kick_avail_idx
 
u32 call_file_index
 
gro_flow_table_tflow_table
 

Detailed Description

Definition at line 59 of file virtio.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

virtio_vring_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ @249

union { ... }

◆ avail

vring_avail_t* virtio_vring_t::avail

Definition at line 65 of file virtio.h.

◆ buffer_pool_index

u8 virtio_vring_t::buffer_pool_index

Definition at line 77 of file virtio.h.

◆ buffers

u32* virtio_vring_t::buffers

Definition at line 82 of file virtio.h.

◆ call_fd

int virtio_vring_t::call_fd

Definition at line 73 of file virtio.h.

◆ call_file_index

u32 virtio_vring_t::call_file_index

Definition at line 85 of file virtio.h.

◆ desc

vring_desc_t* virtio_vring_t::desc

Definition at line 63 of file virtio.h.

◆ desc_in_use

u16 virtio_vring_t::desc_in_use

Definition at line 66 of file virtio.h.

◆ desc_next

u16 virtio_vring_t::desc_next

Definition at line 67 of file virtio.h.

◆ flags

u16 virtio_vring_t::flags

Definition at line 81 of file virtio.h.

◆ flow_table

gro_flow_table_t* virtio_vring_t::flow_table

Definition at line 86 of file virtio.h.

◆ kick_fd

int virtio_vring_t::kick_fd

Definition at line 72 of file virtio.h.

◆ last_kick_avail_idx

u16 virtio_vring_t::last_kick_avail_idx

Definition at line 84 of file virtio.h.

◆ last_used_idx

u16 virtio_vring_t::last_used_idx

Definition at line 83 of file virtio.h.

◆ lockp

clib_spinlock_t virtio_vring_t::lockp

Definition at line 62 of file virtio.h.

◆ queue_id

u16 virtio_vring_t::queue_id

Definition at line 79 of file virtio.h.

◆ queue_notify_offset

u16 virtio_vring_t::queue_notify_offset

Definition at line 75 of file virtio.h.

◆ size

u16 virtio_vring_t::size

Definition at line 78 of file virtio.h.

◆ used

vring_used_t* virtio_vring_t::used

Definition at line 64 of file virtio.h.


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