FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vhost_std.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vhost_memory_region_t
 
struct  vhost_memory_t
 
struct  vhost_vring_state_t
 
struct  vhost_vring_file_t
 
struct  vhost_vring_addr_t
 
struct  vhost_user_log_t
 

Macros

#define VHOST_VIRTIO   0xAF
 
#define VHOST_GET_FEATURES   _IOR(VHOST_VIRTIO, 0x00, u64)
 
#define VHOST_SET_FEATURES   _IOW(VHOST_VIRTIO, 0x00, u64)
 
#define VHOST_SET_OWNER   _IO(VHOST_VIRTIO, 0x01)
 
#define VHOST_RESET_OWNER   _IO(VHOST_VIRTIO, 0x02)
 
#define VHOST_SET_MEM_TABLE   _IOW(VHOST_VIRTIO, 0x03, vhost_memory_t)
 
#define VHOST_SET_LOG_BASE   _IOW(VHOST_VIRTIO, 0x04, u64)
 
#define VHOST_SET_LOG_FD   _IOW(VHOST_VIRTIO, 0x07, int)
 
#define VHOST_SET_VRING_NUM   _IOW(VHOST_VIRTIO, 0x10, vhost_vring_state_t)
 
#define VHOST_SET_VRING_ADDR   _IOW(VHOST_VIRTIO, 0x11, vhost_vring_addr_t)
 
#define VHOST_SET_VRING_BASE   _IOW(VHOST_VIRTIO, 0x12, vhost_vring_state_t)
 
#define VHOST_GET_VRING_BASE   _IOWR(VHOST_VIRTIO, 0x12, vhost_vring_state_t)
 
#define VHOST_SET_VRING_KICK   _IOW(VHOST_VIRTIO, 0x20, vhost_vring_file_t)
 
#define VHOST_SET_VRING_CALL   _IOW(VHOST_VIRTIO, 0x21, vhost_vring_file_t)
 
#define VHOST_SET_VRING_ERR   _IOW(VHOST_VIRTIO, 0x22, vhost_vring_file_t)
 
#define VHOST_NET_SET_BACKEND   _IOW(VHOST_VIRTIO, 0x30, vhost_vring_file_t)
 

Macro Definition Documentation

◆ VHOST_GET_FEATURES

#define VHOST_GET_FEATURES   _IOR(VHOST_VIRTIO, 0x00, u64)

Definition at line 63 of file vhost_std.h.

◆ VHOST_GET_VRING_BASE

#define VHOST_GET_VRING_BASE   _IOWR(VHOST_VIRTIO, 0x12, vhost_vring_state_t)

Definition at line 73 of file vhost_std.h.

◆ VHOST_NET_SET_BACKEND

#define VHOST_NET_SET_BACKEND   _IOW(VHOST_VIRTIO, 0x30, vhost_vring_file_t)

Definition at line 77 of file vhost_std.h.

◆ VHOST_RESET_OWNER

#define VHOST_RESET_OWNER   _IO(VHOST_VIRTIO, 0x02)

Definition at line 66 of file vhost_std.h.

◆ VHOST_SET_FEATURES

#define VHOST_SET_FEATURES   _IOW(VHOST_VIRTIO, 0x00, u64)

Definition at line 64 of file vhost_std.h.

◆ VHOST_SET_LOG_BASE

#define VHOST_SET_LOG_BASE   _IOW(VHOST_VIRTIO, 0x04, u64)

Definition at line 68 of file vhost_std.h.

◆ VHOST_SET_LOG_FD

#define VHOST_SET_LOG_FD   _IOW(VHOST_VIRTIO, 0x07, int)

Definition at line 69 of file vhost_std.h.

◆ VHOST_SET_MEM_TABLE

#define VHOST_SET_MEM_TABLE   _IOW(VHOST_VIRTIO, 0x03, vhost_memory_t)

Definition at line 67 of file vhost_std.h.

◆ VHOST_SET_OWNER

#define VHOST_SET_OWNER   _IO(VHOST_VIRTIO, 0x01)

Definition at line 65 of file vhost_std.h.

◆ VHOST_SET_VRING_ADDR

#define VHOST_SET_VRING_ADDR   _IOW(VHOST_VIRTIO, 0x11, vhost_vring_addr_t)

Definition at line 71 of file vhost_std.h.

◆ VHOST_SET_VRING_BASE

#define VHOST_SET_VRING_BASE   _IOW(VHOST_VIRTIO, 0x12, vhost_vring_state_t)

Definition at line 72 of file vhost_std.h.

◆ VHOST_SET_VRING_CALL

#define VHOST_SET_VRING_CALL   _IOW(VHOST_VIRTIO, 0x21, vhost_vring_file_t)

Definition at line 75 of file vhost_std.h.

◆ VHOST_SET_VRING_ERR

#define VHOST_SET_VRING_ERR   _IOW(VHOST_VIRTIO, 0x22, vhost_vring_file_t)

Definition at line 76 of file vhost_std.h.

◆ VHOST_SET_VRING_KICK

#define VHOST_SET_VRING_KICK   _IOW(VHOST_VIRTIO, 0x20, vhost_vring_file_t)

Definition at line 74 of file vhost_std.h.

◆ VHOST_SET_VRING_NUM

#define VHOST_SET_VRING_NUM   _IOW(VHOST_VIRTIO, 0x10, vhost_vring_state_t)

Definition at line 70 of file vhost_std.h.

◆ VHOST_VIRTIO

#define VHOST_VIRTIO   0xAF

Definition at line 62 of file vhost_std.h.