aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qat/qat_api/common/compression/include/dc_error_counter.h
blob: 55f21b7cbd1275a5211db9a18fc75ef49b6ad891 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright(c) 2007-2022 Intel Corporation */
/**
 *****************************************************************************
 * @file dc_error_counter.h
 *
 * @ingroup Dc_DataCompression
 *
 * @description
 *      Definition of the Data Compression Error Counter parameters.
 *
 *****************************************************************************/
#ifndef DC_ERROR_COUNTER_H
#define DC_ERROR_COUNTER_H

#include "cpa_types.h"
#include "cpa_dc.h"

#define MAX_DC_ERROR_TYPE 20

void dcErrorLog(CpaDcReqStatus dcError);
Cpa64U getDcErrorCounter(CpaDcReqStatus dcError);

#endif /* DC_ERROR_COUNTER_H */