FD.io VPP  v17.10-9-gd594711
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_next
 
#define foreach_dpdk_crypto_input_error
 

Enumerations

enum  dpdk_crypto_input_next_t { DPDK_CRYPTO_INPUT_N_NEXT }
 
enum  dpdk_crypto_input_error_t { DPDK_CRYPTO_INPUT_N_ERROR }
 

Functions

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_qp_data_t *qpd)
 
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_dpdk_crypto_input_error
Value:
_(DQ_COPS, "Crypto ops dequeued") \
_(COP_FAILED, "Crypto op failed")

Definition at line 42 of file crypto_node.c.

#define foreach_dpdk_crypto_input_next
Value:
_(DROP, "error-drop") \
_(ENCRYPT_POST, "dpdk-esp-encrypt-post") \
_(DECRYPT_POST, "dpdk-esp-decrypt-post")
DROP
Definition: error.def:41

Definition at line 29 of file crypto_node.c.

Enumeration Type Documentation

Enumerator
DPDK_CRYPTO_INPUT_N_ERROR 

Definition at line 46 of file crypto_node.c.

Enumerator
DPDK_CRYPTO_INPUT_N_NEXT 

Definition at line 34 of file crypto_node.c.

Function Documentation

static_always_inline u32 dpdk_crypto_dequeue ( vlib_main_t vm,
vlib_node_runtime_t node,
crypto_qp_data_t qpd 
)

Definition at line 87 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 171 of file crypto_node.c.

+ Here is the call graph for this function:

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

Definition at line 72 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:42

Definition at line 54 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: crypto_node.c:29
static uword dpdk_crypto_input_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: crypto_node.c:171
static char * dpdk_crypto_input_error_strings[]
Definition: crypto_node.c:54
static u8 * format_dpdk_crypto_input_trace(u8 *s, va_list *args)
Definition: crypto_node.c:72

(constructor) VLIB_REGISTER_NODE (dpdk_crypto_input_node)

Definition at line 60 of file crypto_node.c.