FD.io VPP  v16.06
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

volatile u32lockp
 
u32 is_up
 
u32 admin_up
 
u32 unix_fd
 
u32 unix_file_index
 
u32 client_fd
 
char sock_filename [256]
 
int sock_errno
 
u8 sock_is_server
 
u32 hw_if_index
 
u32 sw_if_index
 
u8 active
 
u32 nregions
 
u64 features
 
u64 feature_mask
 
u64 protocol_features
 
u32 num_vrings
 
vhost_user_memory_region_t regions [VHOST_MEMORY_MAX_NREGIONS]
 
voidregion_mmap_addr [VHOST_MEMORY_MAX_NREGIONS]
 
u32 region_mmap_fd [VHOST_MEMORY_MAX_NREGIONS]
 
vhost_user_vring_t vrings [2]
 
int virtio_net_hdr_sz
 
int is_any_layout
 
u32d_trace_buffers
 
voidlog_base_addr
 
u64 log_size
 

Detailed Description

Definition at line 193 of file vhost-user.h.

Member Function Documentation

vhost_user_intf_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

u8 vhost_user_intf_t::active

Definition at line 205 of file vhost-user.h.

u32 vhost_user_intf_t::admin_up

Definition at line 197 of file vhost-user.h.

u32 vhost_user_intf_t::client_fd

Definition at line 200 of file vhost-user.h.

u32* vhost_user_intf_t::d_trace_buffers

Definition at line 218 of file vhost-user.h.

u64 vhost_user_intf_t::feature_mask

Definition at line 209 of file vhost-user.h.

u64 vhost_user_intf_t::features

Definition at line 208 of file vhost-user.h.

u32 vhost_user_intf_t::hw_if_index

Definition at line 204 of file vhost-user.h.

int vhost_user_intf_t::is_any_layout

Definition at line 217 of file vhost-user.h.

u32 vhost_user_intf_t::is_up

Definition at line 196 of file vhost-user.h.

volatile u32* vhost_user_intf_t::lockp

Definition at line 195 of file vhost-user.h.

void* vhost_user_intf_t::log_base_addr

Definition at line 220 of file vhost-user.h.

u64 vhost_user_intf_t::log_size

Definition at line 221 of file vhost-user.h.

u32 vhost_user_intf_t::nregions

Definition at line 207 of file vhost-user.h.

u32 vhost_user_intf_t::num_vrings

Definition at line 211 of file vhost-user.h.

u64 vhost_user_intf_t::protocol_features

Definition at line 210 of file vhost-user.h.

void* vhost_user_intf_t::region_mmap_addr[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 213 of file vhost-user.h.

u32 vhost_user_intf_t::region_mmap_fd[VHOST_MEMORY_MAX_NREGIONS]

Definition at line 214 of file vhost-user.h.

Definition at line 212 of file vhost-user.h.

int vhost_user_intf_t::sock_errno

Definition at line 202 of file vhost-user.h.

char vhost_user_intf_t::sock_filename[256]

Definition at line 201 of file vhost-user.h.

u8 vhost_user_intf_t::sock_is_server

Definition at line 203 of file vhost-user.h.

u32 vhost_user_intf_t::sw_if_index

Definition at line 204 of file vhost-user.h.

u32 vhost_user_intf_t::unix_fd

Definition at line 198 of file vhost-user.h.

u32 vhost_user_intf_t::unix_file_index

Definition at line 199 of file vhost-user.h.

int vhost_user_intf_t::virtio_net_hdr_sz

Definition at line 216 of file vhost-user.h.

vhost_user_vring_t vhost_user_intf_t::vrings[2]

Definition at line 215 of file vhost-user.h.


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