DPDK  23.07.0
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 
19 typedef uint16_t (*dequeue_pkt_burst_t)(void *qp,
20  struct rte_crypto_op **ops, uint16_t nb_ops);
23 typedef uint16_t (*enqueue_pkt_burst_t)(void *qp,
24  struct rte_crypto_op **ops, uint16_t nb_ops);
34 struct rte_cryptodev_qpdata {
36  void **data;
38  struct rte_cryptodev_cb_rcu *enq_cb;
40  struct rte_cryptodev_cb_rcu *deq_cb;
41 };
42 
43 struct rte_crypto_fp_ops {
45  enqueue_pkt_burst_t enqueue_burst;
47  dequeue_pkt_burst_t dequeue_burst;
49  struct rte_cryptodev_qpdata qp;
51  uintptr_t reserved[3];
53 
54 extern struct rte_crypto_fp_ops rte_crypto_fp_ops[RTE_CRYPTO_MAX_DEVS];
55 
59 extern struct rte_cryptodev *rte_cryptodevs;
60 
61 #endif /* _RTE_CRYPTODEV_CORE_H_ */
struct rte_cryptodev * rte_cryptodevs
uint16_t(* enqueue_pkt_burst_t)(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
#define __rte_cache_aligned
Definition: rte_common.h:440
uint16_t(* dequeue_pkt_burst_t)(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)