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