FD.io VPP
v19.04.2-12-g66b1689
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef int(* | init_fn) (ssvm_private_t *) |
typedef void(* | delete_fn) (ssvm_private_t *) |
Functions | |
int | ssvm_master_init_shm (ssvm_private_t *ssvm) |
int | ssvm_slave_init_shm (ssvm_private_t *ssvm) |
void | ssvm_delete_shm (ssvm_private_t *ssvm) |
int | ssvm_master_init_memfd (ssvm_private_t *memfd) |
Initialize memfd segment master. More... | |
int | ssvm_slave_init_memfd (ssvm_private_t *memfd) |
Initialize memfd segment slave. More... | |
void | ssvm_delete_memfd (ssvm_private_t *memfd) |
int | ssvm_master_init_private (ssvm_private_t *ssvm) |
Initialize segment in a private heap. More... | |
int | ssvm_slave_init_private (ssvm_private_t *ssvm) |
void | ssvm_delete_private (ssvm_private_t *ssvm) |
int | ssvm_master_init (ssvm_private_t *ssvm, ssvm_segment_type_t type) |
int | ssvm_slave_init (ssvm_private_t *ssvm, ssvm_segment_type_t type) |
void | ssvm_delete (ssvm_private_t *ssvm) |
ssvm_segment_type_t | ssvm_type (const ssvm_private_t *ssvm) |
u8 * | ssvm_name (const ssvm_private_t *ssvm) |
Variables | |
static init_fn | master_init_fns [SSVM_N_SEGMENT_TYPES] |
static init_fn | slave_init_fns [SSVM_N_SEGMENT_TYPES] |
static delete_fn | delete_fns [SSVM_N_SEGMENT_TYPES] |
typedef void(* delete_fn) (ssvm_private_t *) |
typedef int(* init_fn) (ssvm_private_t *) |
void ssvm_delete | ( | ssvm_private_t * | ssvm | ) |
void ssvm_delete_memfd | ( | ssvm_private_t * | memfd | ) |
void ssvm_delete_private | ( | ssvm_private_t * | ssvm | ) |
void ssvm_delete_shm | ( | ssvm_private_t * | ssvm | ) |
int ssvm_master_init | ( | ssvm_private_t * | ssvm, |
ssvm_segment_type_t | type | ||
) |
int ssvm_master_init_memfd | ( | ssvm_private_t * | memfd | ) |
int ssvm_master_init_private | ( | ssvm_private_t * | ssvm | ) |
int ssvm_master_init_shm | ( | ssvm_private_t * | ssvm | ) |
u8* ssvm_name | ( | const ssvm_private_t * | ssvm | ) |
int ssvm_slave_init | ( | ssvm_private_t * | ssvm, |
ssvm_segment_type_t | type | ||
) |
int ssvm_slave_init_memfd | ( | ssvm_private_t * | memfd | ) |
Initialize memfd segment slave.
Subtly different than svm_slave_init. The caller needs to acquire a usable file descriptor for the memfd segment e.g. via vppinfra/socket.c:default_socket_recvmsg
Definition at line 285 of file ssvm.c.
int ssvm_slave_init_private | ( | ssvm_private_t * | ssvm | ) |
int ssvm_slave_init_shm | ( | ssvm_private_t * | ssvm | ) |
ssvm_segment_type_t ssvm_type | ( | const ssvm_private_t * | ssvm | ) |
|
static |
|
static |
|
static |