FD.io VPP  v20.09-64-g4f7b92f0a
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
 

Enumerations

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 void dpdk_crypto_input_check_op (vlib_main_t *vm, vlib_node_runtime_t *node, struct rte_crypto_op *op0, u16 *next)
 
static void dpdk_crypto_input_trace (vlib_main_t *vm, vlib_node_runtime_t *node, u8 dev_id, u32 *bis, u16 *nexts, u32 n_deq)
 
static_always_inline u32 dpdk_crypto_dequeue (vlib_main_t *vm, crypto_worker_main_t *cwm, vlib_node_runtime_t *node, crypto_resource_t *res)
 
static_always_inline uword dpdk_crypto_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() dpdk_crypto_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_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

◆ foreach_dpdk_crypto_input_error

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

Definition at line 30 of file crypto_node.c.

Enumeration Type Documentation

◆ dpdk_crypto_input_error_t

Enumerator
DPDK_CRYPTO_INPUT_N_ERROR 

Definition at line 35 of file crypto_node.c.

Function Documentation

◆ dpdk_crypto_dequeue()

static_always_inline u32 dpdk_crypto_dequeue ( vlib_main_t vm,
crypto_worker_main_t cwm,
vlib_node_runtime_t node,
crypto_resource_t res 
)

Definition at line 126 of file crypto_node.c.

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

◆ dpdk_crypto_input_check_op()

static_always_inline void dpdk_crypto_input_check_op ( vlib_main_t vm,
vlib_node_runtime_t node,
struct rte_crypto_op *  op0,
u16 next 
)

Definition at line 71 of file crypto_node.c.

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

◆ dpdk_crypto_input_inline()

static_always_inline uword dpdk_crypto_input_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 244 of file crypto_node.c.

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

◆ dpdk_crypto_input_node()

VLIB_NODE_FN() dpdk_crypto_input_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)

Definition at line 295 of file crypto_node.c.

+ Here is the call graph for this function:

◆ dpdk_crypto_input_trace()

static void dpdk_crypto_input_trace ( vlib_main_t vm,
vlib_node_runtime_t node,
u8  dev_id,
u32 bis,
u16 nexts,
u32  n_deq 
)
inlinestatic

Definition at line 89 of file crypto_node.c.

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

◆ format_dpdk_crypto_input_trace()

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

Definition at line 59 of file crypto_node.c.

+ Here is the call graph for this function:

Variable Documentation

◆ dpdk_crypto_input_error_strings

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

Definition at line 43 of file crypto_node.c.

◆ dpdk_crypto_input_node

vlib_node_registration_t dpdk_crypto_input_node
Initial value:
=
{
.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:36
#define VLIB_NODE_FLAG_TRACE_SUPPORTED
Definition: node.h:305
static char * dpdk_crypto_input_error_strings[]
Definition: crypto_node.c:43
static u8 * format_dpdk_crypto_input_trace(u8 *s, va_list *args)
Definition: crypto_node.c:59

(constructor) VLIB_REGISTER_NODE (dpdk_crypto_input_node)

Definition at line 303 of file crypto_node.c.