FD.io VPP  v19.04.4-rc0-5-ge88582fac
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]
 
u16 tx_ring_sz
 
u16 rx_ring_sz
 
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
tx_ring_sz- the number of entries of TX ring
rx_ring_sz- the number of entries of RX ring
features- the virtio features which driver should negotiate with device

Definition at line 29 of file virtio.api.

Field Documentation

◆ client_index

u32 vl_api_virtio_pci_create_t::client_index

Definition at line 31 of file virtio.api.

◆ context

u32 vl_api_virtio_pci_create_t::context

Definition at line 32 of file virtio.api.

◆ features

u64 vl_api_virtio_pci_create_t::features

Definition at line 38 of file virtio.api.

◆ mac_address

u8 vl_api_virtio_pci_create_t::mac_address[6]

Definition at line 35 of file virtio.api.

◆ pci_addr

u32 vl_api_virtio_pci_create_t::pci_addr

Definition at line 33 of file virtio.api.

◆ rx_ring_sz

u16 vl_api_virtio_pci_create_t::rx_ring_sz

Definition at line 37 of file virtio.api.

◆ tx_ring_sz

u16 vl_api_virtio_pci_create_t::tx_ring_sz

Definition at line 36 of file virtio.api.

◆ use_random_mac

u8 vl_api_virtio_pci_create_t::use_random_mac

Definition at line 34 of file virtio.api.


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