FD.io VPP  v17.10-9-gd594711
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
 
u8 socket_filename [128]
 
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) #param tx_queues - number of tx queues (only valid for slave)
id- 32bit integer used to authenticate and match opposite sides of the connection
socket_filename- filename of the socket 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 31 of file memif.api.

Field Documentation

u16 vl_api_memif_create_t::buffer_size

Definition at line 44 of file memif.api.

u32 vl_api_memif_create_t::client_index

Definition at line 33 of file memif.api.

u32 vl_api_memif_create_t::context

Definition at line 34 of file memif.api.

u8 vl_api_memif_create_t::hw_addr[6]

Definition at line 45 of file memif.api.

u32 vl_api_memif_create_t::id

Definition at line 40 of file memif.api.

u8 vl_api_memif_create_t::mode

Definition at line 37 of file memif.api.

u32 vl_api_memif_create_t::ring_size

Definition at line 43 of file memif.api.

u8 vl_api_memif_create_t::role

Definition at line 36 of file memif.api.

u8 vl_api_memif_create_t::rx_queues

Definition at line 38 of file memif.api.

u8 vl_api_memif_create_t::secret[24]

Definition at line 42 of file memif.api.

u8 vl_api_memif_create_t::socket_filename[128]

Definition at line 41 of file memif.api.

u8 vl_api_memif_create_t::tx_queues

Definition at line 39 of file memif.api.


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