FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
crypto_node.c File Reference
+ Include dependency graph for crypto_node.c:

Go to the source code of this file.

Data Structures

struct  dpdk_crypto_input_trace_t
 

Macros

#define foreach_dpdk_crypto_input_error
 
#define foreach_cryptodev_status
 

Enumerations

enum  dpdk_crypto_input_error_t { DPDK_CRYPTO_INPUT_N_ERROR }
 

Functions

static u8format_cryptodev_status (u8 *s, va_list *args)
 
static u8format_dpdk_crypto_input_trace (u8 *s, va_list *args)
 
static_always_inline u32 dpdk_crypto_dequeue (vlib_main_t *vm, vlib_node_runtime_t *node, crypto_resource_t *res, u8 outbound)
 
static uword dpdk_crypto_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static char * dpdk_crypto_input_error_strings []
 
vlib_node_registration_t dpdk_crypto_input_node
 (constructor) VLIB_REGISTER_NODE (dpdk_crypto_input_node) More...
 

Macro Definition Documentation

#define foreach_cryptodev_status
Value:
_(SUCCESS, "success") \
_(NOT_PROCESSED, "not processed") \
_(AUTH_FAILED, "auth failed") \
_(INVALID_SESSION, "invalid session") \
_(INVALID_ARGS, "invalid arguments") \
_(ERROR, "error")

Definition at line 54 of file crypto_node.c.

#define foreach_dpdk_crypto_input_error
Value:
_(DQ_COPS, "Crypto ops dequeued") \
_(STATUS, "Crypto operation failed")

Definition at line 29 of file crypto_node.c.

Enumeration Type Documentation

Enumerator
DPDK_CRYPTO_INPUT_N_ERROR 

Definition at line 33 of file crypto_node.c.

Function Documentation

static_always_inline u32 dpdk_crypto_dequeue ( vlib_main_t vm,
vlib_node_runtime_t node,
crypto_resource_t res,
u8  outbound 
)

Definition at line 92 of file crypto_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword dpdk_crypto_input_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 180 of file crypto_node.c.

+ Here is the call graph for this function:

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

Definition at line 63 of file crypto_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 80 of file crypto_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

char* dpdk_crypto_input_error_strings[]
static
Initial value:
= {
#define _(n, s)
}
#define foreach_dpdk_crypto_input_error
Definition: crypto_node.c:29

Definition at line 41 of file crypto_node.c.

vlib_node_registration_t dpdk_crypto_input_node
Initial value:
=
{
.function = dpdk_crypto_input_fn,
.name = "dpdk-crypto-input",
.state = VLIB_NODE_STATE_DISABLED,
.n_next_nodes = DPDK_CRYPTO_INPUT_N_NEXT,
.next_nodes =
{
#define _(s,n)
},
}
#define foreach_dpdk_crypto_input_next
Definition: ipsec.h:33
static uword dpdk_crypto_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: crypto_node.c:180
static char * dpdk_crypto_input_error_strings[]
Definition: crypto_node.c:41
static u8 * format_dpdk_crypto_input_trace(u8 *s, va_list *args)
Definition: crypto_node.c:80

(constructor) VLIB_REGISTER_NODE (dpdk_crypto_input_node)

Definition at line 47 of file crypto_node.c.