FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Create memory interface. More...
Data Fields | |
u32 | client_index |
u32 | context |
vl_api_memif_role_t | role |
vl_api_memif_mode_t | mode |
u8 | rx_queues |
u8 | tx_queues |
u32 | id |
u32 | socket_id |
u32 | ring_size |
u16 | buffer_size |
bool | no_zero_copy |
vl_api_mac_address_t | hw_addr |
string | secret [24] |
option | vat_help = "[id <id>] [socket-id <id>] [ring_size <size>] [buffer_size <size>] [hw_addr <mac_address>] [secret <string>] [mode ip] <master|slave>" |
Create memory interface.
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 |
no_zero_copy | - if true, disable zero copy |
hw_addr | - interface MAC address |
secret | - optional, default is "", max length 24 |