DPDK 23.11.0
Loading...
Searching...
No Matches
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
19typedef uint16_t (*dequeue_pkt_burst_t)(void *qp,
20 struct rte_crypto_op **ops, uint16_t nb_ops);
23typedef uint16_t (*enqueue_pkt_burst_t)(void *qp,
24 struct rte_crypto_op **ops, uint16_t nb_ops);
34struct rte_cryptodev_qpdata {
36 void **data;
38 struct rte_cryptodev_cb_rcu *enq_cb;
40 struct rte_cryptodev_cb_rcu *deq_cb;
41};
42
43struct 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
54extern struct rte_crypto_fp_ops rte_crypto_fp_ops[RTE_CRYPTO_MAX_DEVS];
55
59extern struct rte_cryptodev *rte_cryptodevs;
60
61#endif /* _RTE_CRYPTODEV_CORE_H_ */
#define __rte_cache_aligned
Definition rte_common.h:524
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