1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2021 Intel Corporation
5 #ifndef _QAT_COMP_PMD_GENS_H_
6 #define _QAT_COMP_PMD_GENS_H_
8 #include <rte_compressdev.h>
9 #include <rte_compressdev_pmd.h>
12 #include "qat_comp_pmd.h"
14 extern const struct rte_compressdev_capabilities qat_gen1_comp_capabilities[];
16 struct qat_comp_capabilities_info
17 qat_comp_cap_get_gen1(struct qat_pci_device *qat_dev);
19 uint16_t qat_comp_get_ram_bank_flags_gen1(void);
21 int qat_comp_set_slice_cfg_word_gen1(struct qat_comp_xform *qat_xform,
22 const struct rte_comp_xform *xform,
23 enum rte_comp_op_type op_type,
24 uint32_t *comp_slice_cfg_word);
26 uint64_t qat_comp_get_features_gen1(void);
28 extern struct rte_compressdev_ops qat_comp_ops_gen1;
30 #endif /* _QAT_COMP_PMD_GENS_H_ */