From: Tomasz Cel <tomaszx.cel@intel.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, fiona.trahe@intel.com, lee.daly@intel.com,
greg.b.tucker@intel.com, tomaszx.jozwiak@intel.com
Subject: [dpdk-dev] [PATCH] compress/isal: fix compression stream initialization
Date: Tue, 26 Mar 2019 10:42:09 +0100 [thread overview]
Message-ID: <1553593329-8075-1-git-send-email-tomaszx.cel@intel.com> (raw)
Message-ID: <20190326094209.T9J6piu1j-n5NPiA0gkBsE_0NuKoxunObGq1d9SpMdY@z> (raw)
This patch fixes ISAL internal state fields initialization.
Fixes: dc49e6aa4879 ("compress/isal: add ISA-L compression functionality")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Cel <tomaszx.cel@intel.com>
---
drivers/compress/isal/isal_compress_pmd.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/compress/isal/isal_compress_pmd.c b/drivers/compress/isal/isal_compress_pmd.c
index 8879a42..1e518b3 100644
--- a/drivers/compress/isal/isal_compress_pmd.c
+++ b/drivers/compress/isal/isal_compress_pmd.c
@@ -412,7 +412,7 @@ process_isal_deflate(struct rte_comp_op *op, struct isal_comp_qp *qp,
uint8_t *temp_level_buf = qp->stream->level_buf;
/* Initialize compression stream */
- isal_deflate_stateless_init(qp->stream);
+ isal_deflate_init(qp->stream);
qp->stream->level_buf = temp_level_buf;
@@ -514,8 +514,6 @@ process_isal_deflate(struct rte_comp_op *op, struct isal_comp_qp *qp,
op->output_chksum = qp->stream->internal_state.crc;
}
- isal_deflate_reset(qp->stream);
-
return ret;
}
--
2.7.4
next reply other threads:[~2019-03-26 9:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-26 9:42 Tomasz Cel [this message]
2019-03-26 9:42 ` Tomasz Cel
2019-03-27 11:35 ` Daly, Lee
2019-03-27 11:35 ` Daly, Lee
2019-03-27 17:46 ` [dpdk-dev] [PATCH v2] This patch " Tomasz Cel
2019-03-27 17:46 ` Tomasz Cel
2019-03-27 17:46 ` [dpdk-dev] [PATCH v2] compress/isal: " Tomasz Cel
2019-03-27 17:46 ` Tomasz Cel
2019-03-28 9:06 ` [dpdk-dev] [PATCH v3 0/1] This patch " Tomasz Cel
2019-03-28 9:06 ` Tomasz Cel
2019-03-28 9:06 ` [dpdk-dev] [PATCH v3 1/1] compress/isal: " Tomasz Cel
2019-03-28 9:06 ` Tomasz Cel
2019-03-28 12:58 ` Trahe, Fiona
2019-03-28 12:58 ` Trahe, Fiona
2019-03-28 13:23 ` Daly, Lee
2019-03-28 13:23 ` Daly, Lee
2019-03-29 14:20 ` Akhil Goyal
2019-03-29 14:20 ` Akhil Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1553593329-8075-1-git-send-email-tomaszx.cel@intel.com \
--to=tomaszx.cel@intel.com \
--cc=dev@dpdk.org \
--cc=fiona.trahe@intel.com \
--cc=greg.b.tucker@intel.com \
--cc=lee.daly@intel.com \
--cc=stable@dpdk.org \
--cc=tomaszx.jozwiak@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).