1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 3 /* $FreeBSD$ */ 4 5 /** 6 ***************************************************************************** 7 * @file dc_ns_datapath.c 8 * 9 * @defgroup Dc_DataCompression DC Data Compression 10 * 11 * @ingroup Dc_DataCompression 12 * 13 * @description 14 * Implementation of the Data Compression datapath operations. 15 * 16 *****************************************************************************/ 17 18 /* 19 ******************************************************************************* 20 * Include public/global header files 21 ******************************************************************************* 22 */ 23 #include "cpa.h" 24 #include "cpa_dc.h" 25 #include "cpa_dc_dp.h" 26 27 /* 28 ******************************************************************************* 29 * Include private header files 30 ******************************************************************************* 31 */ 32 #include "dc_session.h" 33 #include "dc_datapath.h" 34 #include "sal_statistics.h" 35 #include "lac_common.h" 36 #include "lac_mem.h" 37 #include "lac_mem_pools.h" 38 #include "lac_log.h" 39 #include "sal_types_compression.h" 40 #include "dc_stats.h" 41 #include "lac_buffer_desc.h" 42 #include "lac_sal.h" 43 #include "lac_sync.h" 44 #include "sal_service_state.h" 45 #include "sal_qat_cmn_msg.h" 46 #include "dc_error_counter.h" 47 48 CpaStatus 49 cpaDcNsDecompressData(CpaInstanceHandle dcInstance, 50 CpaDcNsSetupData *pSetupData, 51 CpaBufferList *pSrcBuff, 52 CpaBufferList *pDestBuff, 53 CpaDcOpData *pOpData, 54 CpaDcRqResults *pResults, 55 CpaDcCallbackFn callbackFn, 56 void *callbackTag) 57 { 58 return CPA_STATUS_UNSUPPORTED; 59 } 60 61 CpaStatus 62 cpaDcNsCompressData(CpaInstanceHandle dcInstance, 63 CpaDcNsSetupData *pSetupData, 64 CpaBufferList *pSrcBuff, 65 CpaBufferList *pDestBuff, 66 CpaDcOpData *pOpData, 67 CpaDcRqResults *pResults, 68 CpaDcCallbackFn callbackFn, 69 void *callbackTag) 70 { 71 return CPA_STATUS_UNSUPPORTED; 72 } 73