DPDK
21.11.9
lib
port
rte_port_sym_crypto.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2018 Intel Corporation
3
*/
4
5
#ifndef __INCLUDE_RTE_PORT_SYM_CRYPTO_H__
6
#define __INCLUDE_RTE_PORT_SYM_CRYPTO_H__
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
21
#include <stdint.h>
22
23
#include <
rte_cryptodev.h
>
24
25
#include "
rte_port.h
"
26
28
typedef
void (*
rte_port_sym_crypto_reader_callback_fn
)(
struct
rte_mbuf
**pkts,
29
uint16_t n_pkts,
void
*arg);
30
32
struct
rte_port_sym_crypto_reader_params
{
34
uint8_t
cryptodev_id
;
35
37
uint16_t
queue_id
;
38
40
rte_port_sym_crypto_reader_callback_fn
f_callback
;
41
43
void
*
arg_callback
;
44
};
45
47
extern
struct
rte_port_in_ops
rte_port_sym_crypto_reader_ops
;
48
49
51
struct
rte_port_sym_crypto_writer_params
{
53
uint8_t
cryptodev_id
;
54
56
uint16_t
queue_id
;
57
59
uint16_t
crypto_op_offset
;
60
62
uint32_t
tx_burst_sz
;
63
};
64
66
extern
struct
rte_port_out_ops
rte_port_sym_crypto_writer_ops
;
67
69
struct
rte_port_sym_crypto_writer_nodrop_params
{
71
uint8_t
cryptodev_id
;
72
74
uint16_t
queue_id
;
75
77
uint16_t
crypto_op_offset
;
78
80
uint32_t
tx_burst_sz
;
81
83
uint32_t
n_retries
;
84
};
85
87
extern
struct
rte_port_out_ops
rte_port_sym_crypto_writer_nodrop_ops
;
88
89
#ifdef __cplusplus
90
}
91
#endif
92
93
#endif
rte_cryptodev.h
rte_port.h
rte_port_sym_crypto_writer_nodrop_ops
struct rte_port_out_ops rte_port_sym_crypto_writer_nodrop_ops
rte_port_sym_crypto_reader_ops
struct rte_port_in_ops rte_port_sym_crypto_reader_ops
rte_port_sym_crypto_reader_callback_fn
void(* rte_port_sym_crypto_reader_callback_fn)(struct rte_mbuf **pkts, uint16_t n_pkts, void *arg)
Definition:
rte_port_sym_crypto.h:28
rte_port_sym_crypto_writer_ops
struct rte_port_out_ops rte_port_sym_crypto_writer_ops
rte_mbuf
Definition:
rte_mbuf_core.h:578
rte_port_in_ops
Definition:
rte_port.h:119
rte_port_out_ops
Definition:
rte_port.h:221
rte_port_sym_crypto_reader_params
Definition:
rte_port_sym_crypto.h:32
rte_port_sym_crypto_reader_params::cryptodev_id
uint8_t cryptodev_id
Definition:
rte_port_sym_crypto.h:34
rte_port_sym_crypto_reader_params::f_callback
rte_port_sym_crypto_reader_callback_fn f_callback
Definition:
rte_port_sym_crypto.h:40
rte_port_sym_crypto_reader_params::arg_callback
void * arg_callback
Definition:
rte_port_sym_crypto.h:43
rte_port_sym_crypto_reader_params::queue_id
uint16_t queue_id
Definition:
rte_port_sym_crypto.h:37
rte_port_sym_crypto_writer_nodrop_params
Definition:
rte_port_sym_crypto.h:69
rte_port_sym_crypto_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_sym_crypto.h:83
rte_port_sym_crypto_writer_nodrop_params::cryptodev_id
uint8_t cryptodev_id
Definition:
rte_port_sym_crypto.h:71
rte_port_sym_crypto_writer_nodrop_params::crypto_op_offset
uint16_t crypto_op_offset
Definition:
rte_port_sym_crypto.h:77
rte_port_sym_crypto_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_sym_crypto.h:80
rte_port_sym_crypto_writer_nodrop_params::queue_id
uint16_t queue_id
Definition:
rte_port_sym_crypto.h:74
rte_port_sym_crypto_writer_params
Definition:
rte_port_sym_crypto.h:51
rte_port_sym_crypto_writer_params::cryptodev_id
uint8_t cryptodev_id
Definition:
rte_port_sym_crypto.h:53
rte_port_sym_crypto_writer_params::crypto_op_offset
uint16_t crypto_op_offset
Definition:
rte_port_sym_crypto.h:59
rte_port_sym_crypto_writer_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_sym_crypto.h:62
rte_port_sym_crypto_writer_params::queue_id
uint16_t queue_id
Definition:
rte_port_sym_crypto.h:56
Generated by
1.9.4