FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
vl_api_memif_create_t Struct Reference

Create memory interface. More...

Data Fields

u32 client_index
 
u32 context
 
u8 role
 
u8 mode
 
u8 rx_queues
 
u8 tx_queues
 
u32 id
 
u32 socket_id
 
u8 secret [24]
 
u32 ring_size
 
u16 buffer_size
 
u8 hw_addr [6]
 

Detailed Description

Create memory interface.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
role- role of the interface in the connection (master/slave)
mode- interface mode
rx_queues- number of rx queues (only valid for slave)
tx_queues- number of tx queues (only valid for slave)
id- 32bit integer used to authenticate and match opposite sides of the connection
socket_id- socket filename id to be used for connection establishment
ring_size- the number of entries of RX/TX rings
buffer_size- size of the buffer allocated for each ring entry
hw_addr- interface MAC address

Definition at line 51 of file memif.api.

Field Documentation

u16 vl_api_memif_create_t::buffer_size

Definition at line 64 of file memif.api.

u32 vl_api_memif_create_t::client_index

Definition at line 53 of file memif.api.

u32 vl_api_memif_create_t::context

Definition at line 54 of file memif.api.

u8 vl_api_memif_create_t::hw_addr[6]

Definition at line 65 of file memif.api.

u32 vl_api_memif_create_t::id

Definition at line 60 of file memif.api.

u8 vl_api_memif_create_t::mode

Definition at line 57 of file memif.api.

u32 vl_api_memif_create_t::ring_size

Definition at line 63 of file memif.api.

u8 vl_api_memif_create_t::role

Definition at line 56 of file memif.api.

u8 vl_api_memif_create_t::rx_queues

Definition at line 58 of file memif.api.

u8 vl_api_memif_create_t::secret[24]

Definition at line 62 of file memif.api.

u32 vl_api_memif_create_t::socket_id

Definition at line 61 of file memif.api.

u8 vl_api_memif_create_t::tx_queues

Definition at line 59 of file memif.api.


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