FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_create_vhost_user_if_v2_t Struct Reference

vhost-user interface create request More...

Data Fields

u32 client_index
 
u32 context
 
bool is_server
 
string sock_filename [256]
 
bool renumber
 
bool disable_mrg_rxbuf
 
bool disable_indirect_desc
 
bool enable_gso
 
bool enable_packed
 
bool enable_event_idx
 
u32 custom_dev_instance
 
bool use_custom_mac
 
vl_api_mac_address_t mac_address
 
string tag [64]
 

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
disable_mrg_rxbuf- disable the use of merge receive buffers
disable_indirect_desc- disable the use of indirect descriptors which driver can use
enable_gso- enable gso support (default 0)
enable_packed- enable packed ring support (default 0)
enable_event_idx- enable event_idx support (default 0)
mac_address- hardware address to use if 'use_custom_mac' is set
renumber- if true, use custom_dev_instance is valid
custom_dev_instance- custom device instance number

Definition at line 99 of file vhost_user.api.

Field Documentation

◆ client_index

u32 vl_api_create_vhost_user_if_v2_t::client_index

Definition at line 101 of file vhost_user.api.

◆ context

u32 vl_api_create_vhost_user_if_v2_t::context

Definition at line 102 of file vhost_user.api.

◆ custom_dev_instance

u32 vl_api_create_vhost_user_if_v2_t::custom_dev_instance

Definition at line 111 of file vhost_user.api.

◆ disable_indirect_desc

bool vl_api_create_vhost_user_if_v2_t::disable_indirect_desc

Definition at line 107 of file vhost_user.api.

◆ disable_mrg_rxbuf

bool vl_api_create_vhost_user_if_v2_t::disable_mrg_rxbuf

Definition at line 106 of file vhost_user.api.

◆ enable_event_idx

bool vl_api_create_vhost_user_if_v2_t::enable_event_idx

Definition at line 110 of file vhost_user.api.

◆ enable_gso

bool vl_api_create_vhost_user_if_v2_t::enable_gso

Definition at line 108 of file vhost_user.api.

◆ enable_packed

bool vl_api_create_vhost_user_if_v2_t::enable_packed

Definition at line 109 of file vhost_user.api.

◆ is_server

bool vl_api_create_vhost_user_if_v2_t::is_server

Definition at line 103 of file vhost_user.api.

◆ mac_address

vl_api_mac_address_t vl_api_create_vhost_user_if_v2_t::mac_address

Definition at line 113 of file vhost_user.api.

◆ renumber

bool vl_api_create_vhost_user_if_v2_t::renumber

Definition at line 105 of file vhost_user.api.

◆ sock_filename

string vl_api_create_vhost_user_if_v2_t::sock_filename[256]

Definition at line 104 of file vhost_user.api.

◆ tag

string vl_api_create_vhost_user_if_v2_t::tag[64]

Definition at line 114 of file vhost_user.api.

◆ use_custom_mac

bool vl_api_create_vhost_user_if_v2_t::use_custom_mac

Definition at line 112 of file vhost_user.api.


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