FD.io VPP  v19.08-27-gf4dcae4
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
u8 disable_mrg_rxbuf
u8 disable_indirect_desc
u8 enable_gso
u32 custom_dev_instance
u8 use_custom_mac
u8 mac_address [6]
u8 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)
mac_address- hardware address to use if 'use_custom_mac' is set

Definition at line 28 of file vhost_user.api.

Field Documentation

u32 vl_api_create_vhost_user_if_t::client_index

Definition at line 30 of file vhost_user.api.

u32 vl_api_create_vhost_user_if_t::context

Definition at line 31 of file vhost_user.api.

u32 vl_api_create_vhost_user_if_t::custom_dev_instance

Definition at line 38 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::disable_indirect_desc

Definition at line 36 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::disable_mrg_rxbuf

Definition at line 35 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::enable_gso

Definition at line 37 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::is_server

Definition at line 32 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::mac_address[6]

Definition at line 40 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::renumber

Definition at line 34 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::sock_filename[256]

Definition at line 33 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::tag[64]

Definition at line 41 of file vhost_user.api.

u8 vl_api_create_vhost_user_if_t::use_custom_mac

Definition at line 39 of file vhost_user.api.

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