From: Lee Daly Date: Thu, 17 Jan 2019 21:10:45 +0000 (+0000) Subject: compress/isal: fix build with old library version X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=59af922ae45927c52f04ab0f6697b0f7fbca8d52;p=dpdk.git compress/isal: fix build with old library version 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 --- diff --git a/drivers/compress/isal/isal_compress_pmd.c b/drivers/compress/isal/isal_compress_pmd.c index b610e90433..4748238cb7 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"