From patchwork Thu Jan 17 21:10:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Daly, Lee" X-Patchwork-Id: 49929 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B50B72082; Thu, 17 Jan 2019 22:10:51 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 811FA14EC for ; Thu, 17 Jan 2019 22:10:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2019 13:10:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,489,1539673200"; d="scan'208";a="311344329" Received: from silpixa00399501.ir.intel.com ([10.237.223.69]) by fmsmga006.fm.intel.com with ESMTP; 17 Jan 2019 13:10:48 -0800 From: Lee Daly To: pablo.de.lara.guarch@intel.com, fiona.trahe@intel.com Cc: dev@dpdk.org, Lee Daly Date: Thu, 17 Jan 2019 21:10:45 +0000 Message-Id: <1547759445-58482-1-git-send-email-lee.daly@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] compress/isal: fix build with old library version X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch removes an unnecessary flag which was breaking the build with older versions of the ISA-L library (v2.23 and older) and replace with a more appropriate flag which is present in older versions of library. Fixes: bd03d3f1e4f1 ("compress/isal: enable checksum support") Signed-off-by: Lee Daly Tested-by: Harry van Haaren --- drivers/compress/isal/isal_compress_pmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/compress/isal/isal_compress_pmd.c b/drivers/compress/isal/isal_compress_pmd.c index b610e90..4748238 100644 --- a/drivers/compress/isal/isal_compress_pmd.c +++ b/drivers/compress/isal/isal_compress_pmd.c @@ -195,10 +195,10 @@ isal_comp_set_priv_xform_parameters(struct isal_priv_xform *priv_xform, priv_xform->decompress.chksum = ISAL_DEFLATE; break; case(RTE_COMP_CHECKSUM_CRC32): - priv_xform->decompress.chksum = ISAL_GZIP_NO_HDR_VER; + priv_xform->decompress.chksum = ISAL_GZIP_NO_HDR; break; case(RTE_COMP_CHECKSUM_ADLER32): - priv_xform->decompress.chksum = ISAL_ZLIB_NO_HDR_VER; + priv_xform->decompress.chksum = ISAL_ZLIB_NO_HDR; break; case(RTE_COMP_CHECKSUM_CRC32_ADLER32): ISAL_PMD_LOG(ERR, "Combined CRC and ADLER checksum not"