DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] compress/isal: fix compression stream initialization
@ 2019-03-26  9:42 Tomasz Cel
  2019-03-26  9:42 ` Tomasz Cel
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Tomasz Cel @ 2019-03-26  9:42 UTC (permalink / raw)
  To: dev; +Cc: stable, fiona.trahe, lee.daly, greg.b.tucker, tomaszx.jozwiak

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-03-29 14:21 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26  9:42 [dpdk-dev] [PATCH] compress/isal: fix compression stream initialization Tomasz Cel
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

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).