1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
9 /**< Intel(R) QAT Symmetric Crypto PMD device name */
10 #define CRYPTODEV_NAME_QAT_SYM_PMD crypto_qat
13 * Maximum number of SGL entries
15 #define QAT_SGL_MAX_NUMBER 16
17 /* Intel(R) QuickAssist Technology device generation is enumerated
18 * from one according to the generation of the device
26 /**< Common struct for scatter-gather list operations */
33 struct qat_alg_buf_list {
36 uint32_t num_mapped_bufs;
37 struct qat_alg_buf bufers[QAT_SGL_MAX_NUMBER];
38 } __rte_packed __rte_cache_aligned;
40 struct qat_crypto_op_cookie {
41 struct qat_alg_buf_list qat_sgl_list_src;
42 struct qat_alg_buf_list qat_sgl_list_dst;
43 phys_addr_t qat_sgl_src_phys_addr;
44 phys_addr_t qat_sgl_dst_phys_addr;
47 #endif /* _QAT_QAT_COMMON_H_ */