xref: /freebsd/sys/dev/qat/qat_api/common/compression/icp_sal_dc_err.c (revision 71625ec9ad2a9bc8c09784fbd23b759830e0ee5f)
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
3 /**
4  *****************************************************************************
5  * @file icp_sal_dc_err.c
6  *
7  * @defgroup SalCommon
8  *
9  * @ingroup SalCommon
10  *
11  *****************************************************************************/
12 
13 /*
14 ******************************************************************************
15 * Include public/global header files
16 ******************************************************************************
17 */
18 #include "cpa.h"
19 #include "icp_sal.h"
20 
21 /*
22 *******************************************************************************
23 * Include private header files
24 *******************************************************************************
25 */
26 #include "dc_error_counter.h"
27 
28 Cpa64U
icp_sal_get_dc_error(Cpa8S dcError)29 icp_sal_get_dc_error(Cpa8S dcError)
30 {
31 	return getDcErrorCounter(dcError);
32 }
33