raw/cnxk_bphy: add doxygen comments
[dpdk.git] / drivers / compress / qat / dev / qat_comp_pmd_gen3.c
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2021 Intel Corporation
3  */
4
5 #include "qat_comp_pmd.h"
6 #include "qat_comp_pmd_gens.h"
7
8 #define QAT_NUM_INTERM_BUFS_GEN3 64
9
10 static unsigned int
11 qat_comp_get_num_im_bufs_required_gen3(void)
12 {
13         return QAT_NUM_INTERM_BUFS_GEN3;
14 }
15
16 RTE_INIT(qat_comp_pmd_gen3_init)
17 {
18         qat_comp_gen_dev_ops[QAT_GEN3].compressdev_ops =
19                         &qat_comp_ops_gen1;
20         qat_comp_gen_dev_ops[QAT_GEN3].qat_comp_get_capabilities =
21                         qat_comp_cap_get_gen1;
22         qat_comp_gen_dev_ops[QAT_GEN3].qat_comp_get_num_im_bufs_required =
23                         qat_comp_get_num_im_bufs_required_gen3;
24         qat_comp_gen_dev_ops[QAT_GEN3].qat_comp_get_ram_bank_flags =
25                         qat_comp_get_ram_bank_flags_gen1;
26         qat_comp_gen_dev_ops[QAT_GEN3].qat_comp_set_slice_cfg_word =
27                         qat_comp_set_slice_cfg_word_gen1;
28         qat_comp_gen_dev_ops[QAT_GEN3].qat_comp_get_feature_flags =
29                         qat_comp_get_features_gen1;
30 }