DPDK 22.11.6
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
20typedef uint16_t (*dequeue_pkt_burst_t)(void *qp,
21 struct rte_crypto_op **ops, uint16_t nb_ops);
24typedef uint16_t (*enqueue_pkt_burst_t)(void *qp,
25 struct rte_crypto_op **ops, uint16_t nb_ops);
35struct rte_cryptodev_qpdata {
37 void **data;
39 struct rte_cryptodev_cb_rcu *enq_cb;
41 struct rte_cryptodev_cb_rcu *deq_cb;
42};
43
44struct 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];
54
55extern struct rte_crypto_fp_ops rte_crypto_fp_ops[RTE_CRYPTO_MAX_DEVS];
56
60extern struct rte_cryptodev *rte_cryptodevs;
61
62#endif /* _RTE_CRYPTODEV_CORE_H_ */
#define __rte_cache_aligned
Definition: rte_common.h:440
uint16_t(* enqueue_pkt_burst_t)(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
uint16_t(* dequeue_pkt_burst_t)(void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
struct rte_cryptodev * rte_cryptodevs