package
3.29.0
Repository: https://github.com/projectcalico/vpp-dataplane.git
Documentation: pkg.go.dev

# Functions

Messages returns list of all messages in this module.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Create memory interface - 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 MemifCreate defines message 'memif_create'.
Create memory interface response - retval - return value for request - sw_if_index - software index of the newly created interface MemifCreateReply defines message 'memif_create_reply'.
Create memory interface - 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 - use_dma - if true, use dma accelerate memory copy - hw_addr - interface MAC address - secret - optional, default is "", max length 24 MemifCreateV2 defines message 'memif_create_v2'.
Create memory interface response - retval - return value for request - sw_if_index - software index of the newly created interface MemifCreateV2Reply defines message 'memif_create_v2_reply'.
Delete memory interface - sw_if_index - software index of the interface to delete MemifDelete defines message 'memif_delete'.
MemifDeleteReply defines message 'memif_delete_reply'.
Memory interface details structure - sw_if_index - index of the interface - hw_addr - interface MAC address - id - id associated with the interface - role - role of the interface in the connection (master/slave) - mode - interface mode - zero_copy - zero copy flag present - socket_id - id of the socket filename used by this interface to establish new connections - ring_size - the number of entries of RX/TX rings - buffer_size - size of the buffer allocated for each ring entry - flags - interface_status flags - if_name - name of the interface MemifDetails defines message 'memif_details'.
Dump all memory interfaces MemifDump defines message 'memif_dump'.
Create or remove named socket file for memif interfaces - is_add - 0 = remove, 1 = add association - socket_id - non-0 32-bit integer used to identify a socket file - socket_filename - filename of the socket to be used for connection establishment; id 0 always maps to default "/var/vpp/memif.sock"; no socket filename needed when is_add == 0.
MemifSocketFilenameAddDelReply defines message 'memif_socket_filename_add_del_reply'.
Create or remove named socket file for memif interfaces - is_add - 0 = remove, 1 = add association - socket_id - non-0 32-bit integer used to identify a socket file ~0 means autogenerate - socket_filename - filename of the socket to be used for connection establishment; id 0 always maps to default "/var/vpp/memif.sock"; no socket filename needed when is_add == 0.
Create memory interface socket file response - retval - return value for request - socket_id - non-0 32-bit integer used to identify a socket file MemifSocketFilenameAddDelV2Reply defines message 'memif_socket_filename_add_del_v2_reply'.
Memory interface details structure - socket_id - u32 used to identify the given socket filename - socket_filename - corresponding NUL terminated socket filename MemifSocketFilenameDetails defines message 'memif_socket_filename_details'.
Dump the table of socket ids and corresponding filenames MemifSocketFilenameDump defines message 'memif_socket_filename_dump'.

# Interfaces

RPCService defines RPC service memif.
No description provided by the author
No description provided by the author

# Type aliases

MemifMode defines enum 'memif_mode'.
MemifRole defines enum 'memif_role'.