FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
vl_api_virtio_pci_create_t Struct Reference

Initialize a new virtio pci interface with the given paramters. More...

Data Fields

u32 client_index
 
u32 context
 
u32 pci_addr
 
u8 use_random_mac
 
u8 mac_address [6]
 
u8 gso_enabled
 
u64 features
 

Detailed Description

Initialize a new virtio pci interface with the given paramters.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
pci_addr- pci address as unsigned 32bit integer: 0-15 domain, 16-23 bus, 24-28 slot, 29-31 function
use_random_mac- let the system generate a unique mac address
mac_address- mac addr to assign to the interface if use_radom not set
gso_enabled- enable gso feature if available, 1 to enable
features- the virtio features which driver should negotiate with device

Definition at line 28 of file virtio.api.

Field Documentation

◆ client_index

u32 vl_api_virtio_pci_create_t::client_index

Definition at line 30 of file virtio.api.

◆ context

u32 vl_api_virtio_pci_create_t::context

Definition at line 31 of file virtio.api.

◆ features

u64 vl_api_virtio_pci_create_t::features

Definition at line 36 of file virtio.api.

◆ gso_enabled

u8 vl_api_virtio_pci_create_t::gso_enabled

Definition at line 35 of file virtio.api.

◆ mac_address

u8 vl_api_virtio_pci_create_t::mac_address[6]

Definition at line 34 of file virtio.api.

◆ pci_addr

u32 vl_api_virtio_pci_create_t::pci_addr

Definition at line 32 of file virtio.api.

◆ use_random_mac

u8 vl_api_virtio_pci_create_t::use_random_mac

Definition at line 33 of file virtio.api.


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