FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
vl_api_create_vhost_user_if_t Struct Reference

vhost-user interface create request More...

Data Fields

u32 client_index
 
u32 context
 
u8 is_server
 
u8 sock_filename [256]
 
u8 renumber
 
u32 custom_dev_instance
 
u8 use_custom_mac
 
u8 mac_address [6]
 
u8 tag [64]
 
u8 operation_mode
 

Detailed Description

vhost-user interface create request

Template Parameters
client_index- opaque cookie to identify the sender
is_server- our side is socket server
sock_filename- unix socket filename, used to speak with frontend
use_custom_mac- enable or disable the use of the provided hardware address
mac_address- hardware address to use if 'use_custom_mac' is set
operation_mode- polling=0, interrupt=1, or adaptive=2

Definition at line 24 of file vhost_user.api.

Field Documentation

u32 vl_api_create_vhost_user_if_t::client_index

Definition at line 26 of file vhost_user.api.

u32 vl_api_create_vhost_user_if_t::context

Definition at line 27 of file vhost_user.api.

u32 vl_api_create_vhost_user_if_t::custom_dev_instance

Definition at line 31 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::is_server

Definition at line 28 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::mac_address[6]

Definition at line 33 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::operation_mode

Definition at line 35 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::renumber

Definition at line 30 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::sock_filename[256]

Definition at line 29 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::tag[64]

Definition at line 34 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::use_custom_mac

Definition at line 32 of file vhost_user.api.


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