FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | memif_socket_file_t |
struct | memif_region_t |
struct | memif_msg_fifo_elt_t |
struct | memif_queue_t |
struct | memif_if_t |
struct | memif_packet_op_t |
struct | memif_copy_op_t |
struct | memif_per_thread_data_t |
struct | memif_main_t |
struct | memif_create_if_args_t |
Macros | |
#define | MEMIF_DEFAULT_SOCKET_FILENAME "memif.sock" |
#define | MEMIF_DEFAULT_RING_SIZE 1024 |
#define | MEMIF_DEFAULT_RX_QUEUES 1 |
#define | MEMIF_DEFAULT_TX_QUEUES 1 |
#define | MEMIF_DEFAULT_BUFFER_SIZE 2048 |
#define | MEMIF_MAX_M2S_RING (vec_len (vlib_mains)) |
#define | MEMIF_MAX_S2M_RING 256 |
#define | MEMIF_MAX_REGION 256 |
#define | MEMIF_MAX_LOG2_RING_SIZE 14 |
#define | memif_log_debug(dev, f, ...) |
#define | memif_log_warn(dev, f, ...) |
#define | memif_log_err(dev, f, ...) |
#define | memif_file_add(a, b) |
#define | memif_file_del(a) |
#define | memif_file_del_by_index(a) |
#define | foreach_memif_if_flag |
#define | MEMIF_RX_VECTOR_SZ VLIB_FRAME_SIZE |
Enumerations | |
enum | memif_if_flag_t { foreach_memif_if_flag } |
enum | { MEMIF_PROCESS_EVENT_START = 1, MEMIF_PROCESS_EVENT_STOP = 2 } |
Variables | |
memif_main_t | memif_main |
vnet_device_class_t | memif_device_class |
vlib_node_registration_t | memif_input_node |
(constructor) VLIB_REGISTER_NODE (memif_input_node) More... | |
enum { ... } | memif_process_event_t |
#define foreach_memif_if_flag |
#define memif_file_add | ( | a, | |
b | |||
) |
#define memif_file_del_by_index | ( | a | ) |
#define memif_log_debug | ( | dev, | |
f, | |||
... | |||
) |
#define memif_log_err | ( | dev, | |
f, | |||
... | |||
) |
#define memif_log_warn | ( | dev, | |
f, | |||
... | |||
) |
#define MEMIF_MAX_M2S_RING (vec_len (vlib_mains)) |
#define MEMIF_RX_VECTOR_SZ VLIB_FRAME_SIZE |
anonymous enum |
enum memif_if_flag_t |
clib_error_t* memif_conn_fd_accept_ready | ( | clib_file_t * | uf | ) |
clib_error_t* memif_connect | ( | memif_if_t * | mif | ) |
int memif_create_if | ( | vlib_main_t * | vm, |
memif_create_if_args_t * | args | ||
) |
int memif_delete_if | ( | vlib_main_t * | vm, |
memif_if_t * | mif | ||
) |
void memif_disconnect | ( | memif_if_t * | mif, |
clib_error_t * | err | ||
) |
static_always_inline void* memif_get_buffer | ( | memif_if_t * | mif, |
memif_ring_t * | ring, | ||
u16 | slot | ||
) |
clib_error_t* memif_init_regions_and_queues | ( | memif_if_t * | mif | ) |
clib_error_t* memif_master_conn_fd_error | ( | clib_file_t * | uf | ) |
clib_error_t* memif_master_conn_fd_read_ready | ( | clib_file_t * | uf | ) |
clib_error_t* memif_master_conn_fd_write_ready | ( | clib_file_t * | uf | ) |
clib_error_t* memif_msg_send_disconnect | ( | memif_if_t * | mif, |
clib_error_t * | err | ||
) |
clib_error_t* memif_plugin_api_hookup | ( | vlib_main_t * | vm | ) |
Definition at line 408 of file memif_api.c.
clib_error_t* memif_slave_conn_fd_error | ( | clib_file_t * | uf | ) |
clib_error_t* memif_slave_conn_fd_read_ready | ( | clib_file_t * | uf | ) |
clib_error_t* memif_slave_conn_fd_write_ready | ( | clib_file_t * | uf | ) |
void memif_socket_close | ( | clib_socket_t ** | sock | ) |
vnet_device_class_t memif_device_class |
vlib_node_registration_t memif_input_node |
memif_main_t memif_main |
enum { ... } memif_process_event_t |