1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Intel Corporation
6 #ifndef _QAT_ASYM_PMD_H_
7 #define _QAT_ASYM_PMD_H_
9 #include <rte_cryptodev.h>
10 #include "qat_crypto.h"
11 #include "qat_device.h"
13 /** Intel(R) QAT Asymmetric Crypto PMD name */
14 #define CRYPTODEV_NAME_QAT_ASYM_PMD crypto_qat_asym
18 * Helper function to add an asym capability
19 * <name> <op type> <modlen (min, max, increment)>
21 #define QAT_ASYM_CAP(n, o, l, r, i) \
23 .op = RTE_CRYPTO_OP_TYPE_ASYMMETRIC, \
26 .xform_type = RTE_CRYPTO_ASYM_XFORM_##n,\
39 extern uint8_t qat_asym_driver_id;
41 extern struct qat_crypto_gen_dev_ops qat_asym_gen_dev_ops[];
44 qat_asym_init_op_cookie(void *op_cookie);
47 qat_asym_pmd_enqueue_op_burst(void *qp, struct rte_crypto_op **ops,
51 qat_asym_pmd_dequeue_op_burst(void *qp, struct rte_crypto_op **ops,
54 #endif /* _QAT_ASYM_PMD_H_ */