FD.io VPP  v21.01.1
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  crypto_dispatch_trace_t
 

Macros

#define foreach_crypto_dispatch_next   _(ERR_DROP, "error-drop")
 

Enumerations

enum  vnet_crypto_async_error_t { VNET_CRYPTO_ASYNC_N_ERROR }
 
enum  crypto_dispatch_next_t { CRYPTO_DISPATCH_N_NEXT }
 

Functions

static u8format_crypto_dispatch_trace (u8 *s, va_list *args)
 
static void vnet_crypto_async_add_trace (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, vnet_crypto_async_op_id_t op_id, vnet_crypto_op_status_t status)
 
static_always_inline u32 crypto_dequeue_frame (vlib_main_t *vm, vlib_node_runtime_t *node, vnet_crypto_thread_t *ct, vnet_crypto_frame_dequeue_t *hdl, u32 n_cache, u32 *n_total)
 
VLIB_NODE_FN() crypto_dispatch_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * vnet_crypto_async_error_strings []
 
vlib_node_registration_t crypto_dispatch_node
 (constructor) VLIB_REGISTER_NODE (crypto_dispatch_node) More...
 

Macro Definition Documentation

◆ foreach_crypto_dispatch_next

#define foreach_crypto_dispatch_next   _(ERR_DROP, "error-drop")

Definition at line 34 of file node.c.

Enumeration Type Documentation

◆ crypto_dispatch_next_t

Enumerator
CRYPTO_DISPATCH_N_NEXT 

Definition at line 37 of file node.c.

◆ vnet_crypto_async_error_t

Enumerator
VNET_CRYPTO_ASYNC_N_ERROR 

Definition at line 20 of file node.c.

Function Documentation

◆ crypto_dequeue_frame()

static_always_inline u32 crypto_dequeue_frame ( vlib_main_t vm,
vlib_node_runtime_t node,
vnet_crypto_thread_t ct,
vnet_crypto_frame_dequeue_t hdl,
u32  n_cache,
u32 n_total 
)

Definition at line 75 of file node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ crypto_dispatch_node()

VLIB_NODE_FN() crypto_dispatch_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 154 of file node.c.

+ Here is the call graph for this function:

◆ format_crypto_dispatch_trace()

static u8* format_crypto_dispatch_trace ( u8 s,
va_list *  args 
)
static

Definition at line 52 of file node.c.

◆ vnet_crypto_async_add_trace()

static void vnet_crypto_async_add_trace ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_buffer_t b,
vnet_crypto_async_op_id_t  op_id,
vnet_crypto_op_status_t  status 
)
static

Definition at line 64 of file node.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ crypto_dispatch_node

vlib_node_registration_t crypto_dispatch_node
Initial value:
= {
.name = "crypto-dispatch",
.state = VLIB_NODE_STATE_DISABLED,
.n_next_nodes = CRYPTO_DISPATCH_N_NEXT,
.next_nodes = {
#define _(n, s)
},
}
static char * vnet_crypto_async_error_strings[]
Definition: node.c:28
static u8 * format_crypto_dispatch_trace(u8 *s, va_list *args)
Definition: node.c:52
#define ARRAY_LEN(x)
Definition: clib.h:67
#define foreach_crypto_dispatch_next
Definition: node.c:34

(constructor) VLIB_REGISTER_NODE (crypto_dispatch_node)

Definition at line 177 of file node.c.

◆ vnet_crypto_async_error_strings

char* vnet_crypto_async_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_crypto_op_status
Definition: crypto.h:64

Definition at line 28 of file node.c.