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

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

u32 is_ready
 
u32 admin_up
 
u32 unix_server_index
 
u32 clib_file_index
 
char sock_filename [256]
 
int sock_errno
 
uword if_index
 
u32 hw_if_index
 
u32 sw_if_index
 
u64 features
 
u64 feature_mask
 
u64 protocol_features
 
u32 nregions
 
vhost_user_memory_region_t regions [VHOST_MEMORY_MAX_NREGIONS]
 
void * region_mmap_addr [VHOST_MEMORY_MAX_NREGIONS]
 
u64 region_guest_addr_lo [VHOST_MEMORY_MAX_NREGIONS]
 
u64 region_guest_addr_hi [VHOST_MEMORY_MAX_NREGIONS]
 
u32 region_mmap_fd [VHOST_MEMORY_MAX_NREGIONS]
 
vhost_user_vring_tvrings
 
u32 num_qid
 
int virtio_net_hdr_sz
 
int is_any_layout
 
void * log_base_addr
 
u64 log_size
 
u8 enable_gso
 
u8 enable_packed
 
u8 enable_event_idx
 

Detailed Description

Definition at line 240 of file vhost_user.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

vhost_user_intf_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ admin_up

u32 vhost_user_intf_t::admin_up

Definition at line 244 of file vhost_user.h.

◆ clib_file_index

u32 vhost_user_intf_t::clib_file_index

Definition at line 246 of file vhost_user.h.

◆ enable_event_idx

u8 vhost_user_intf_t::enable_event_idx

Definition at line 287 of file vhost_user.h.

◆ enable_gso

u8 vhost_user_intf_t::enable_gso

Definition at line 282 of file vhost_user.h.

◆ enable_packed

u8 vhost_user_intf_t::enable_packed

Definition at line 285 of file vhost_user.h.

◆ feature_mask

u64 vhost_user_intf_t::feature_mask

Definition at line 254 of file vhost_user.h.

◆ features

u64 vhost_user_intf_t::features

Definition at line 253 of file vhost_user.h.

◆ hw_if_index

u32 vhost_user_intf_t::hw_if_index

Definition at line 250 of file vhost_user.h.

◆ if_index

uword vhost_user_intf_t::if_index

Definition at line 249 of file vhost_user.h.

◆ is_any_layout

int vhost_user_intf_t::is_any_layout

Definition at line 277 of file vhost_user.h.

◆ is_ready

u32 vhost_user_intf_t::is_ready

Definition at line 243 of file vhost_user.h.

◆ log_base_addr

void* vhost_user_intf_t::log_base_addr

Definition at line 279 of file vhost_user.h.

◆ log_size

u64 vhost_user_intf_t::log_size

Definition at line 280 of file vhost_user.h.

◆ nregions

u32 vhost_user_intf_t::nregions

Definition at line 258 of file vhost_user.h.

◆ num_qid

u32 vhost_user_intf_t::num_qid

Definition at line 274 of file vhost_user.h.

◆ protocol_features

u64 vhost_user_intf_t::protocol_features

Definition at line 255 of file vhost_user.h.

◆ region_guest_addr_hi

u64 vhost_user_intf_t::region_guest_addr_hi[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 262 of file vhost_user.h.

◆ region_guest_addr_lo

u64 vhost_user_intf_t::region_guest_addr_lo[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 261 of file vhost_user.h.

◆ region_mmap_addr

void* vhost_user_intf_t::region_mmap_addr[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 260 of file vhost_user.h.

◆ region_mmap_fd

u32 vhost_user_intf_t::region_mmap_fd[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 263 of file vhost_user.h.

◆ regions

vhost_user_memory_region_t vhost_user_intf_t::regions[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 259 of file vhost_user.h.

◆ sock_errno

int vhost_user_intf_t::sock_errno

Definition at line 248 of file vhost_user.h.

◆ sock_filename

char vhost_user_intf_t::sock_filename[256]

Definition at line 247 of file vhost_user.h.

◆ sw_if_index

u32 vhost_user_intf_t::sw_if_index

Definition at line 250 of file vhost_user.h.

◆ unix_server_index

u32 vhost_user_intf_t::unix_server_index

Definition at line 245 of file vhost_user.h.

◆ virtio_net_hdr_sz

int vhost_user_intf_t::virtio_net_hdr_sz

Definition at line 276 of file vhost_user.h.

◆ vrings

vhost_user_vring_t* vhost_user_intf_t::vrings

Definition at line 266 of file vhost_user.h.


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