FD.io VPP  v21.01.1
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
 
bool is_server
 
string sock_filename [256]
 
bool renumber
 
bool disable_mrg_rxbuf
 
bool disable_indirect_desc
 
bool enable_gso
 
bool enable_packed
 
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)
mac_address- hardware address to use if 'use_custom_mac' is set

Definition at line 33 of file vhost_user.api.

Field Documentation

◆ client_index

u32 vl_api_create_vhost_user_if_t::client_index

Definition at line 35 of file vhost_user.api.

◆ context

u32 vl_api_create_vhost_user_if_t::context

Definition at line 36 of file vhost_user.api.

◆ custom_dev_instance

u32 vl_api_create_vhost_user_if_t::custom_dev_instance

Definition at line 44 of file vhost_user.api.

◆ disable_indirect_desc

bool vl_api_create_vhost_user_if_t::disable_indirect_desc

Definition at line 41 of file vhost_user.api.

◆ disable_mrg_rxbuf

bool vl_api_create_vhost_user_if_t::disable_mrg_rxbuf

Definition at line 40 of file vhost_user.api.

◆ enable_gso

bool vl_api_create_vhost_user_if_t::enable_gso

Definition at line 42 of file vhost_user.api.

◆ enable_packed

bool vl_api_create_vhost_user_if_t::enable_packed

Definition at line 43 of file vhost_user.api.

◆ is_server

bool vl_api_create_vhost_user_if_t::is_server

Definition at line 37 of file vhost_user.api.

◆ mac_address

vl_api_mac_address_t vl_api_create_vhost_user_if_t::mac_address

Definition at line 46 of file vhost_user.api.

◆ renumber

bool vl_api_create_vhost_user_if_t::renumber

Definition at line 39 of file vhost_user.api.

◆ sock_filename

string vl_api_create_vhost_user_if_t::sock_filename[256]

Definition at line 38 of file vhost_user.api.

◆ tag

string vl_api_create_vhost_user_if_t::tag[64]

Definition at line 47 of file vhost_user.api.

◆ use_custom_mac

bool vl_api_create_vhost_user_if_t::use_custom_mac

Definition at line 45 of file vhost_user.api.


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