FD.io VPP  v19.01.3-6-g70449b9b9
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

◆ buffer_size

u16 vl_api_memif_create_t::buffer_size

Definition at line 64 of file memif.api.

◆ client_index

u32 vl_api_memif_create_t::client_index

Definition at line 53 of file memif.api.

◆ context

u32 vl_api_memif_create_t::context

Definition at line 54 of file memif.api.

◆ hw_addr

u8 vl_api_memif_create_t::hw_addr[6]

Definition at line 65 of file memif.api.

◆ id

u32 vl_api_memif_create_t::id

Definition at line 60 of file memif.api.

◆ mode

u8 vl_api_memif_create_t::mode

Definition at line 57 of file memif.api.

◆ ring_size

u32 vl_api_memif_create_t::ring_size

Definition at line 63 of file memif.api.

◆ role

u8 vl_api_memif_create_t::role

Definition at line 56 of file memif.api.

◆ rx_queues

u8 vl_api_memif_create_t::rx_queues

Definition at line 58 of file memif.api.

◆ secret

u8 vl_api_memif_create_t::secret[24]

Definition at line 62 of file memif.api.

◆ socket_id

u32 vl_api_memif_create_t::socket_id

Definition at line 61 of file memif.api.

◆ tx_queues

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: