DPDK
21.11.6
lib
cryptodev
rte_cryptodev_core.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(C) 2021 Marvell.
3
*/
4
5
#ifndef _RTE_CRYPTODEV_CORE_H_
6
#define _RTE_CRYPTODEV_CORE_H_
7
20
typedef
uint16_t (*
dequeue_pkt_burst_t
)(
void
*qp,
21
struct
rte_crypto_op
**ops, uint16_t nb_ops);
24
typedef
uint16_t (*
enqueue_pkt_burst_t
)(
void
*qp,
25
struct
rte_crypto_op
**ops, uint16_t nb_ops);
35
struct
rte_cryptodev_qpdata {
37
void
**data;
39
struct
rte_cryptodev_cb_rcu *enq_cb;
41
struct
rte_cryptodev_cb_rcu *deq_cb;
42
};
43
44
struct
rte_crypto_fp_ops {
46
enqueue_pkt_burst_t
enqueue_burst;
48
dequeue_pkt_burst_t
dequeue_burst;
50
struct
rte_cryptodev_qpdata qp;
52
uintptr_t reserved[3];
53
}
__rte_cache_aligned
;
54
55
extern
struct
rte_crypto_fp_ops rte_crypto_fp_ops[RTE_CRYPTO_MAX_DEVS];
56
60
extern
struct
rte_cryptodev *
rte_cryptodevs
;
61
62
#endif
/* _RTE_CRYPTODEV_CORE_H_ */
__rte_cache_aligned
#define __rte_cache_aligned
Definition:
rte_common.h:420
rte_crypto_op
Definition:
rte_crypto.h:83
rte_cryptodevs
struct rte_cryptodev * rte_cryptodevs
dequeue_pkt_burst_t
uint16_t(* dequeue_pkt_burst_t)(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
Definition:
rte_cryptodev_core.h:20
enqueue_pkt_burst_t
uint16_t(* enqueue_pkt_burst_t)(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
Definition:
rte_cryptodev_core.h:24
Generated by
1.8.17