DPDK
24.11.0-rc3
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
16
#include <stdint.h>
17
18
#include <
rte_cryptodev.h
>
19
20
#include "
rte_port.h
"
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
27
typedef
void (*
rte_port_sym_crypto_reader_callback_fn
)(
struct
rte_mbuf
**pkts,
28
uint16_t n_pkts,
void
*arg);
29
31
struct
rte_port_sym_crypto_reader_params
{
33
uint8_t
cryptodev_id
;
34
36
uint16_t
queue_id
;
37
39
rte_port_sym_crypto_reader_callback_fn
f_callback
;
40
42
void
*
arg_callback
;
43
};
44
46
extern
struct
rte_port_in_ops
rte_port_sym_crypto_reader_ops
;
47
48
50
struct
rte_port_sym_crypto_writer_params
{
52
uint8_t
cryptodev_id
;
53
55
uint16_t
queue_id
;
56
58
uint16_t
crypto_op_offset
;
59
61
uint32_t
tx_burst_sz
;
62
};
63
65
extern
struct
rte_port_out_ops
rte_port_sym_crypto_writer_ops
;
66
68
struct
rte_port_sym_crypto_writer_nodrop_params
{
70
uint8_t
cryptodev_id
;
71
73
uint16_t
queue_id
;
74
76
uint16_t
crypto_op_offset
;
77
79
uint32_t
tx_burst_sz
;
80
82
uint32_t
n_retries
;
83
};
84
86
extern
struct
rte_port_out_ops
rte_port_sym_crypto_writer_nodrop_ops
;
87
88
#ifdef __cplusplus
89
}
90
#endif
91
92
#endif
rte_port_sym_crypto_reader_params::cryptodev_id
uint8_t cryptodev_id
Definition:
rte_port_sym_crypto.h:33
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:27
rte_port_sym_crypto_reader_params::arg_callback
void * arg_callback
Definition:
rte_port_sym_crypto.h:42
rte_port_out_ops
Definition:
rte_port.h:214
rte_port_sym_crypto_writer_ops
struct rte_port_out_ops rte_port_sym_crypto_writer_ops
rte_port_sym_crypto_writer_nodrop_params::crypto_op_offset
uint16_t crypto_op_offset
Definition:
rte_port_sym_crypto.h:76
rte_port_sym_crypto_writer_nodrop_params::queue_id
uint16_t queue_id
Definition:
rte_port_sym_crypto.h:73
rte_port_sym_crypto_writer_params
Definition:
rte_port_sym_crypto.h:50
rte_port_sym_crypto_writer_nodrop_params::n_retries
uint32_t n_retries
Definition:
rte_port_sym_crypto.h:82
rte_port_sym_crypto_reader_params::f_callback
rte_port_sym_crypto_reader_callback_fn f_callback
Definition:
rte_port_sym_crypto.h:39
rte_port_sym_crypto_writer_nodrop_params
Definition:
rte_port_sym_crypto.h:68
rte_port_sym_crypto_writer_nodrop_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_sym_crypto.h:79
rte_port.h
rte_port_sym_crypto_writer_params::cryptodev_id
uint8_t cryptodev_id
Definition:
rte_port_sym_crypto.h:52
rte_port_in_ops
Definition:
rte_port.h:113
rte_port_sym_crypto_writer_nodrop_params::cryptodev_id
uint8_t cryptodev_id
Definition:
rte_port_sym_crypto.h:70
rte_port_sym_crypto_writer_params::queue_id
uint16_t queue_id
Definition:
rte_port_sym_crypto.h:55
rte_port_sym_crypto_writer_params::crypto_op_offset
uint16_t crypto_op_offset
Definition:
rte_port_sym_crypto.h:58
rte_mbuf
Definition:
rte_mbuf_core.h:467
rte_port_sym_crypto_reader_params
Definition:
rte_port_sym_crypto.h:31
rte_port_sym_crypto_reader_ops
struct rte_port_in_ops rte_port_sym_crypto_reader_ops
rte_port_sym_crypto_reader_params::queue_id
uint16_t queue_id
Definition:
rte_port_sym_crypto.h:36
rte_cryptodev.h
rte_port_sym_crypto_writer_params::tx_burst_sz
uint32_t tx_burst_sz
Definition:
rte_port_sym_crypto.h:61
rte_port_sym_crypto_writer_nodrop_ops
struct rte_port_out_ops rte_port_sym_crypto_writer_nodrop_ops
Generated by
1.8.13